You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Benson Margulies (JIRA)" <ji...@apache.org> on 2015/08/24 13:25:45 UTC

[jira] [Created] (KARAF-3955) Use of negative shell exit codes is not delux

Benson Margulies created KARAF-3955:
---------------------------------------

             Summary: Use of negative shell exit codes is not delux
                 Key: KARAF-3955
                 URL: https://issues.apache.org/jira/browse/KARAF-3955
             Project: Karaf
          Issue Type: Bug
            Reporter: Benson Margulies
            Priority: Minor
             Fix For: 4.0.1


Main.java has a set of calls like: System.exit(-1);.

EXIT_FAILURE is '1', not '-1', and in general negative values aren't necessary, since the definition of 'oops' is 'not 0'. I propose that these be adjusted.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)