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

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

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

echo ERROR: java.exe not found. Please make sure that the environmental variable SONAR_JAVA_PATH points to the Java executable. echo ERROR: java.exe not found. Please make sure that the environmental variable SONAR_JAVA_PATH points to the Java executable.
exit /b 1 exit /b 1
) )
goto:eof
exit /b 0


:exit :exit
exit /b exit /b

Loading…
Cancel
Save