diff --git a/Other/auto-acknowledge-apt.sh b/Other/auto-acknowledge-apt.sh index 4f94f1f..6189d87 100755 --- a/Other/auto-acknowledge-apt.sh +++ b/Other/auto-acknowledge-apt.sh @@ -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