Exit in case of creds failure
This commit is contained in:
parent
49028b1c95
commit
c5b043e447
|
@ -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 doesn’t exist'
|
write_log FATAL 'The file creads doesn’t exist'
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# check for commands in the path
|
# check for commands in the path
|
||||||
|
|
Loading…
Reference in a new issue