[parser] Made while loop non-infinite

This commit is contained in:
ayakael 2018-04-15 22:33:45 -04:00
parent d137ace072
commit 90ddcd930c
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026

View file

@ -88,7 +88,7 @@ case "${1}" in
fsck)
shift
while true; do
while [[ -n "${1}" ]]; do
case ${1} in
--nonexistent-ids)
cmdList=(${cmdList[@]} nonexistent-ids)
@ -109,10 +109,6 @@ case "${1}" in
TARGET="${1}"
shift
;;
"")
break 2
;;
esac
done