From 1b06ab08388d7cc79f627649d11a3b1574d0db69 Mon Sep 17 00:00:00 2001 From: Orsiris de Jong Date: Tue, 18 Apr 2017 22:50:45 +0200 Subject: [PATCH] Fixed double script_error entries on preflight checks --- erroraction.cmd | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/erroraction.cmd b/erroraction.cmd index 2819295..238db17 100644 --- a/erroraction.cmd +++ b/erroraction.cmd @@ -107,15 +107,13 @@ IF NOT %ERRORLEVEL%==0 ( dir "%curdir%\base64.exe" > nul 2> nul IF NOT %ERRORLEVEL%==0 ( - IF "%MAIL_ALERT%"=="yes" call:Log "Missing base64.exe file. Did you install without mail alert support ?" - SET SCRIPT_ERROR=1 - ) + IF "%MAIL_ALERT%"=="yes" call:Log "Missing base64.exe file. Did you install without mail alert support ?" && SET SCRIPT_ERROR=1 + ) dir "%curdir%\gzip.exe" > nul 2> nul IF NOT %ERRORLEVEL%==0 ( IF "%MAIL_ALERT%"=="yes" call:Log "Missing gzip.exe file. Did you install without mail alert support ?" && SET SCRIPT_ERROR=1 - SET SCRIPT_ERROR=1 - ) + ) GOTO:EOF :CheckMailValues