Skip to content

Commit 1b06ab0

Browse files
authored
Fixed double script_error entries on preflight checks
1 parent 0061fbe commit 1b06ab0

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

erroraction.cmd

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,13 @@ IF NOT %ERRORLEVEL%==0 (
107107

108108
dir "%curdir%\base64.exe" > nul 2> nul
109109
IF NOT %ERRORLEVEL%==0 (
110-
IF "%MAIL_ALERT%"=="yes" call:Log "Missing base64.exe file. Did you install without mail alert support ?"
111-
SET SCRIPT_ERROR=1
112-
)
110+
IF "%MAIL_ALERT%"=="yes" call:Log "Missing base64.exe file. Did you install without mail alert support ?" && SET SCRIPT_ERROR=1
111+
)
113112

114113
dir "%curdir%\gzip.exe" > nul 2> nul
115114
IF NOT %ERRORLEVEL%==0 (
116115
IF "%MAIL_ALERT%"=="yes" call:Log "Missing gzip.exe file. Did you install without mail alert support ?" && SET SCRIPT_ERROR=1
117-
SET SCRIPT_ERROR=1
118-
)
116+
)
119117
GOTO:EOF
120118

121119
:CheckMailValues

0 commit comments

Comments
 (0)