aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application
diff options
context:
space:
mode:
authorFelipe Zorzo <felipe.b.zorzo@gmail.com>2022-09-02 21:05:21 -0300
committersonartech <sonartech@sonarsource.com>2022-09-28 20:04:08 +0000
commit83d6994c9261bd1d551a1d29208d3dbfb8017404 (patch)
tree01ea1de6f25fd706ef9e2655ee47d2a4fa8e8711 /sonar-application
parent601559308afd3eb6f98853365785ead41c25ebff (diff)
downloadsonarqube-83d6994c9261bd1d551a1d29208d3dbfb8017404.tar.gz
sonarqube-83d6994c9261bd1d551a1d29208d3dbfb8017404.zip
Reset %errorlevel% after checks in batch scripts
Diffstat (limited to 'sonar-application')
-rwxr-xr-xsonar-application/src/main/assembly/bin/windows-x86-64/StartSonar.bat2
-rw-r--r--sonar-application/src/main/assembly/bin/windows-x86-64/lib/find_java.bat2
2 files changed, 2 insertions, 2 deletions
diff --git a/sonar-application/src/main/assembly/bin/windows-x86-64/StartSonar.bat b/sonar-application/src/main/assembly/bin/windows-x86-64/StartSonar.bat
index e154489c0bc..9a6bedd02ef 100755
--- a/sonar-application/src/main/assembly/bin/windows-x86-64/StartSonar.bat
+++ b/sonar-application/src/main/assembly/bin/windows-x86-64/StartSonar.bat
@@ -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
diff --git a/sonar-application/src/main/assembly/bin/windows-x86-64/lib/find_java.bat b/sonar-application/src/main/assembly/bin/windows-x86-64/lib/find_java.bat
index 12ac5fcb7c6..82ca851821f 100644
--- a/sonar-application/src/main/assembly/bin/windows-x86-64/lib/find_java.bat
+++ b/sonar-application/src/main/assembly/bin/windows-x86-64/lib/find_java.bat
@@ -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 \ No newline at end of file