You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Chris Geer (JIRA)" <ji...@apache.org> on 2013/09/15 03:33:51 UTC

[jira] [Created] (KARAF-2471) Karaf Wrapper doesn't return the correct exit result when using RUN_AS_USER

Chris Geer created KARAF-2471:
---------------------------------

             Summary: Karaf Wrapper doesn't return the correct exit result when using RUN_AS_USER
                 Key: KARAF-2471
                 URL: https://issues.apache.org/jira/browse/KARAF-2471
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 3.0.0.RC1, 2.3.2, 2.2.11
            Reporter: Chris Geer
            Priority: Minor
             Fix For: 2.2.12, 2.3.3, 3.0.0


When RUN_AS_USER is set the wrapper script will su to that user and then rerun the script. The issue is the parent script doesn't capture the exit code of the su child process but instead always returns 0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira