Skip to content

Commit

Permalink
fix: error level from timeout causes fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Neo23x0 committed Mar 23, 2021
1 parent 440aae8 commit dd78209
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions install-raccine.bat
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ GOTO MENU

:UNINSTALL
CALL :UNINSTALL_TASKS
TIMEOUT /t 30
:: in case of automation, directly got to EOF
IF NOT "%SELECTED_OPTION%"=="" GOTO EOF
TIMEOUT /t 30
GOTO MENU

:: Actions to run in all modes
Expand Down Expand Up @@ -280,9 +280,7 @@ TASKKILL /F /IM RaccineRulesSync.exe
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /V "Raccine Tray" /F
:: Uninstall update task
SCHTASKS /DELETE /TN "Raccine Rules Updater" /F
:: in case of automation, directly got to EOF
IF NOT "%SELECTED_OPTION%"=="" GOTO EOF
EXIT /B
EXIT /B %ERRORLEVEL%

:EOF
EXIT /B %ERRORLEVEL%

0 comments on commit dd78209

Please sign in to comment.