Skip to content

Commit 0d37fae

Browse files
break loop if invalid option
1 parent e2054cc commit 0d37fae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

udroid/src/udroid.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,6 @@ while [ $# -gt 0 ]; do
132132
--install|-i) shift 1; install $1; break ;;
133133
--login|-l) ;;
134134
--remove | --uninstall ) ;;
135-
*) echo "unkown option [$1]" ;;
135+
*) echo "unkown option [$1]"; break ;;
136136
esac
137137
done

0 commit comments

Comments
 (0)