flatcar_workon: Don't error when run with no arguments

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
James Le Cuirot 2025-12-29 09:20:45 +00:00
parent 2e2a1f8e3c
commit 7893c01ba5
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137

View File

@ -166,7 +166,7 @@ list() {
return 0
}
case "$1" in
case "${1-}" in
start)
find_ebuild "${2-}"
start ;;
@ -177,5 +177,5 @@ case "$1" in
list ;;
*)
flags_help
die "$0: command \"$1\" not recognized" ;;
[[ ${1-} ]] && die "$0: command \"$1\" not recognized" ;;
esac