]
Shelly McGowan resolved JBAS-9335.
----------------------------------
Resolution: Done
patch committed:
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: