fix(scripts): forget exit on error!
This commit is contained in:
parent
3f8ab5d378
commit
e17624864c
@ -20,12 +20,15 @@ else
|
||||
# check for missing environment variable values
|
||||
if [ -z "$SMARTHOST" ]; then
|
||||
printf "\nYou must specify the hostname or IP address of a smarthost where mail should be relayed.\n\n"
|
||||
exit 1
|
||||
fi
|
||||
if [ -z "$SMARTHOST_USERNAME" ]; then
|
||||
printf "\nYou must provide a username for smarthost authentication.\n\n"
|
||||
exit 1
|
||||
fi
|
||||
if [ -z "$SMARTHOST_PASSWORD" ]; then
|
||||
printf "\nYou must provide a password for smarthost authentication.\n\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# set failsafes
|
||||
|
Loading…
Reference in New Issue
Block a user