From c361485533c3a6d8c9c16375654815d492cd76ca Mon Sep 17 00:00:00 2001 From: Cyberes Date: Sun, 25 Feb 2024 21:11:23 -0700 Subject: [PATCH] fix --- Other/auto-acknowledge-apt.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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