elasticsearch/elasticsearch-servicewrapper — pull request #12 by harlanbarnes (2011-12-12 18:12:19+00:00)
Title: Exits with right error code when executing with runas or su

Just a simple capture of the error code to use with exit when RUN_AS_USER is set and the COMMAND is being executed by someone other than that user.