mirror of
https://github.com/docker/docker-install.git
synced 2026-11-20 10:03:11 +03:00
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:
1 file changed
+1
@@ -165,6 +165,7 @@ while [ $# -gt 0 ]; do
|
||||
;;
|
||||
--*)
|
||||
echo "Illegal option $1"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
shift $(( $# > 0 ? 1 : 0 ))
|
||||
|
||||
Reference in new issue
Block a user