Browse Source

Reset %errorlevel% after checks in batch scripts

tags/9.7.0.61563
Felipe Zorzo 1 year ago
parent
commit
83d6994c92

+ 1
- 1
sonar-application/src/main/assembly/bin/windows-x86-64/StartSonar.bat View File

@@ -63,7 +63,7 @@ goto:eof
echo ERROR: Another instance of the SonarQube application is already running with PID %SQ_PROCESS%
exit /b 1
)
goto:eof
exit /b 0
endlocal

+ 1
- 1
sonar-application/src/main/assembly/bin/windows-x86-64/lib/find_java.bat View File

@@ -26,7 +26,7 @@ rem Returns an error code if Java executable is not found in the PATH and the en
echo ERROR: java.exe not found. Please make sure that the environmental variable SONAR_JAVA_PATH points to the Java executable.
exit /b 1
)
goto:eof
exit /b 0

:exit
exit /b

Loading…
Cancel
Save