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
1 changed files with 2 additions and 1 deletions

View File

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