summaryrefslogtreecommitdiff
path: root/langpacks/bulgarian/Refresh.bat
diff options
context:
space:
mode:
Diffstat (limited to 'langpacks/bulgarian/Refresh.bat')
-rw-r--r--langpacks/bulgarian/Refresh.bat5
1 files changed, 4 insertions, 1 deletions
diff --git a/langpacks/bulgarian/Refresh.bat b/langpacks/bulgarian/Refresh.bat
index 9ecfe2dbd7..0e125045b6 100644
--- a/langpacks/bulgarian/Refresh.bat
+++ b/langpacks/bulgarian/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%"