From 1a534429f108d336f9c1163ddcc2e40f6025774c Mon Sep 17 00:00:00 2001 From: claustromaniac <20734810+claustromaniac@users.noreply.github.com> Date: Sun, 12 Aug 2018 18:28:30 +0000 Subject: [PATCH] Update updater.bat --- updater.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater.bat b/updater.bat index 2340e3d..3458c63 100644 --- a/updater.bat +++ b/updater.bat @@ -34,7 +34,7 @@ IF DEFINED _updateb ( REM * Delete the [updated]*.bat and *.bat.old scripts REM * Begin the normal routine FC "[updated]!_myname!.bat" "!_myname!.bat.old" >nul - IF ERRORLEVEL 1 ( + IF NOT "!errorlevel!"=="0" ( CALL :message "Script updated to version !v!" TIMEOUT 3 >nul )