This commit is contained in:
Cyberes 2024-02-25 21:11:23 -07:00
parent 0e210ea641
commit c361485533
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,7 @@ while [ "$1" != "" ]; do
--password ) shift
password=$1
;;
--fail ) shift
--fail )
EXIT_ON_FAILURE=true
;;
* ) usage
@ -28,6 +28,7 @@ while [ "$1" != "" ]; do
done
if [ -z "$api" ] || [ -z "$user" ] || [ -z "$password" ]; then
echo "Missing required details."
usage
fi