Skip to content

Commit

Permalink
Fixed double script_error entries on preflight checks
Browse files Browse the repository at this point in the history
  • Loading branch information
deajan authored Apr 18, 2017
1 parent 0061fbe commit 1b06ab0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions erroraction.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b06ab0

Please sign in to comment.