Skip to content

Commit a45b4b5

Browse files
committed
Exit 1 when illegal option rather than do install
Signed-off-by: H Dub <14808878+hdub-tech@users.noreply.github.com>
1 parent b0fb31f commit a45b4b5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ while [ $# -gt 0 ]; do
126126
;;
127127
--*)
128128
echo "Illegal option $1"
129+
exit 1
129130
;;
130131
esac
131132
shift $(( $# > 0 ? 1 : 0 ))

0 commit comments

Comments
 (0)