Showing
1 changed file
with
1 additions
and
1 deletions
@@ -21,7 +21,7 @@ java -cp %jarfile% -Dloader.main=org.thingsboard.server.ThingsboardInstallApplic | @@ -21,7 +21,7 @@ java -cp %jarfile% -Dloader.main=org.thingsboard.server.ThingsboardInstallApplic | ||
21 | -Dlogging.config=%BASE%\windows\install\logback.xml^ | 21 | -Dlogging.config=%BASE%\windows\install\logback.xml^ |
22 | org.springframework.boot.loader.PropertiesLauncher | 22 | org.springframework.boot.loader.PropertiesLauncher |
23 | 23 | ||
24 | -if NOT %errorlevel% == 0 ( | 24 | +if errorlevel 1 ( |
25 | @echo ThingsBoard DB installation failed! | 25 | @echo ThingsBoard DB installation failed! |
26 | POPD | 26 | POPD |
27 | exit /b %errorlevel% | 27 | exit /b %errorlevel% |