mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-10 06:36:11 +02: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
2e2a1f8e3c
commit
7893c01ba5
@ -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