[jboss-jira] [JBoss JIRA] Commented: (JBAS-9335) Errors in windows service.bat error handling

Shelly McGowan (JIRA) jira-events at lists.jboss.org
Thu Apr 28 13:17:19 EDT 2011


    [ https://issues.jboss.org/browse/JBAS-9335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12598838#comment-12598838 ] 

Shelly McGowan commented on JBAS-9335:
--------------------------------------

Stephen, can you attach the patch?

> Errors in windows service.bat error handling
> --------------------------------------------
>
>                 Key: JBAS-9335
>                 URL: https://issues.jboss.org/browse/JBAS-9335
>             Project: Legacy JBoss Application Server 6 
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Other
>    Affects Versions: 6.0.0.Final
>         Environment: Windows
>            Reporter: Stephen Parry
>            Assignee: Mladen Turk
>            Priority: Minor
>             Fix For: 6.1.0
>
>
> service.bat
> The errorlevel handling in the service.bat script is incorrect causing misleading error messages.
> The syntax:
>     if errorlevel 1
> is used meaning "if errorlevel == 1", when it actual means "if errorlevel >= 1". The syntax that should be used is:
>     if %errorlevel% EQU 1

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list