mirror of
https://github.com/flatcar/scripts.git
synced 2026-01-19 15:32:17 +01:00
flatcar_workon: Don't error when run with no arguments
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
parent
a00f4c718c
commit
c6a640c9a7
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user