Exit in case of creds failure

This commit is contained in:
Alarig Le Lay 2019-01-21 17:26:17 +01:00
parent 49028b1c95
commit c5b043e447

View file

@ -25,7 +25,8 @@ if [ -f ./creds ]; then
source ./creds source ./creds
CURL='curl -s -k -sS' CURL='curl -s -k -sS'
else else
write_log ERROR 'The file creads doesnt exist' write_log FATAL 'The file creads doesnt exist'
exit 1
fi fi
# check for commands in the path # check for commands in the path