Exit 1 when illegal option rather than do install

Signed-off-by: H Dub <14808878+hdub-tech@users.noreply.github.com>
This commit is contained in:
H Dub committed 2026-08-19 13:59:17 -05:00
1 parent a23123f039
commit dfd6bdea56
1 file changed
+1
+1
View File
@@ -165,6 +165,7 @@ while [ $# -gt 0 ]; do
;;
--*)
echo "Illegal option $1"
exit 1
;;
esac
shift $(( $# > 0 ? 1 : 0 ))