tiny QoL improvement
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
e948f6985a
commit
d07fd3362b
4
ssm
4
ssm
|
@ -945,7 +945,9 @@ fi
|
||||||
|
|
||||||
# Action!
|
# Action!
|
||||||
[[ "$1" ]] && action = "$1"
|
[[ "$1" ]] && action = "$1"
|
||||||
action || { usage; die 2; }
|
action || {
|
||||||
|
flag_reread_service && die 0 # Not a mistake if the service was to be re-read
|
||||||
|
usage; die 2; }
|
||||||
|
|
||||||
# Do we have such a function?
|
# Do we have such a function?
|
||||||
if_service_action "$action" || die 17 "Function $action is not defined for $service_name."
|
if_service_action "$action" || die 17 "Function $action is not defined for $service_name."
|
||||||
|
|
Loading…
Reference in New Issue
Block a user