fix
This commit is contained in:
parent
0e210ea641
commit
c361485533
|
@ -19,7 +19,7 @@ while [ "$1" != "" ]; do
|
||||||
--password ) shift
|
--password ) shift
|
||||||
password=$1
|
password=$1
|
||||||
;;
|
;;
|
||||||
--fail ) shift
|
--fail )
|
||||||
EXIT_ON_FAILURE=true
|
EXIT_ON_FAILURE=true
|
||||||
;;
|
;;
|
||||||
* ) usage
|
* ) usage
|
||||||
|
@ -28,6 +28,7 @@ while [ "$1" != "" ]; do
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -z "$api" ] || [ -z "$user" ] || [ -z "$password" ]; then
|
if [ -z "$api" ] || [ -z "$user" ] || [ -z "$password" ]; then
|
||||||
|
echo "Missing required details."
|
||||||
usage
|
usage
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue