From dfd6bdea563a6fb45641efdf12d2e32704876d72 Mon Sep 17 00:00:00 2001 From: H Dub <14808878+hdub-tech@users.noreply.github.com> Date: Sat, 15 Jun 2024 23:21:29 -0500 Subject: [PATCH] Exit 1 when illegal option rather than do install Signed-off-by: H Dub <14808878+hdub-tech@users.noreply.github.com> --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index 7f74d54..19d9fce 100755 --- a/install.sh +++ b/install.sh @@ -165,6 +165,7 @@ while [ $# -gt 0 ]; do ;; --*) echo "Illegal option $1" + exit 1 ;; esac shift $(( $# > 0 ? 1 : 0 ))