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 a00f4c718c
commit c6a640c9a7
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