summaryrefslogtreecommitdiff
path: root/langpacks/belarusian/Refresh.bat
diff options
context:
space:
mode:
Diffstat (limited to 'langpacks/belarusian/Refresh.bat')
-rw-r--r--langpacks/belarusian/Refresh.bat5
1 files changed, 4 insertions, 1 deletions
diff --git a/langpacks/belarusian/Refresh.bat b/langpacks/belarusian/Refresh.bat
index e01751efc9..972d3a4f72 100644
--- a/langpacks/belarusian/Refresh.bat
+++ b/langpacks/belarusian/Refresh.bat
@@ -11,5 +11,8 @@ REM =========================
cd "..\..\tools\lpgen\"
call refresher.bat %language% "%oldLangpackPath%"
-REM copy and reload langpack in your Miranda (uncoment next line + enable cmdline.dll plugin to use it)
+REM if previous command failed, exit
+if %ERRORLEVEL% NEQ 0 exit /B 1
+
+REM copy and reload langpack in your Miranda (uncomment next line + enable cmdline.dll plugin to use it)
REM call installer.bat %language% "%mirandaPath%"