fix
This commit is contained in:
parent
0e210ea641
commit
c361485533
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue