[jboss-jira] [JBoss JIRA] Resolved: (JBAS-9335) Errors in windows service.bat error handling
Shelly McGowan (JIRA)
jira-events at lists.jboss.org
Tue Aug 9 11:28:29 EDT 2011
[ https://issues.jboss.org/browse/JBAS-9335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shelly McGowan resolved JBAS-9335.
----------------------------------
Resolution: Done
patch committed:
http://source.jboss.org/changelog/JBossAS6/?cs=111969
> 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: Shelly McGowan
> Priority: Minor
> Fix For: 6.1.0
>
> Attachments: JBAS-9335.patch
>
>
> 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