[ 
https://issues.apache.org/jira/browse/KARAF-4810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15662877#comment-15662877
 ] 

ASF subversion and git services commented on KARAF-4810:
--------------------------------------------------------

Commit 6719056f59d9cb6ca199c831926dde28590afe1f in karaf's branch 
refs/heads/master from [~jbonofre]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=6719056 ]

[KARAF-4810] This closes #261


> karaf.bat / status.bat do not exit with a proper exit code
> ----------------------------------------------------------
>
>                 Key: KARAF-4810
>                 URL: https://issues.apache.org/jira/browse/KARAF-4810
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-os-integration
>    Affects Versions: 4.0.3
>         Environment: Windows
>            Reporter: Sascha Vogt
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.1.0, 4.0.8
>
>
> The Windows Karaf batch file does not correctly set the exit code when 
> terminating. It's required to propagate the %errorlevel% env var via a call 
> to "exit /b %errorlevel%".
> We noticed that when programmatically checking the status.bat via a 
> ProcessBuilder from Java. If you call that on a not running Karaf, you'll see 
> that it's always "0" although %errorlevel% is set to "1"



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

Reply via email to