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