Skip to content

Commit bb89489

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 2687d91 commit bb89489

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
@@ -157,6 +157,7 @@ while [ $# -gt 0 ]; do
157157
;;
158158
--*)
159159
echo "Illegal option $1"
160+
exit 1
160161
;;
161162
esac
162163
shift $(( $# > 0 ? 1 : 0 ))

0 commit comments

Comments
 (0)