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