diff --git a/src/parser b/src/parser index fc4e28d..943362c 100644 --- a/src/parser +++ b/src/parser @@ -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