[jboss-jira] [JBoss JIRA] Created: (JBAS-9335) Errors in windows service.bat error handling
Stephen Parry (JIRA)
jira-events at lists.jboss.org
Fri Apr 15 14:38:33 EDT 2011
Errors in windows service.bat error handling
--------------------------------------------
Key: JBAS-9335
URL: https://issues.jboss.org/browse/JBAS-9335
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: MSC
Affects Versions: 6.0.0.Final
Environment: Windows
Reporter: Stephen Parry
Priority: Minor
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