oops. This makes more sense.
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
8cee6abd50
commit
bf85069b32
2
ssm
2
ssm
|
@ -132,7 +132,7 @@ if_service_action() {
|
||||||
}; readonly -f if_service_action
|
}; readonly -f if_service_action
|
||||||
|
|
||||||
run_service_action() {
|
run_service_action() {
|
||||||
for f in "$1" "$service_name::$1"; do
|
for f in "$service_name::$1" "$1"; do
|
||||||
is_function "$f" && {
|
is_function "$f" && {
|
||||||
"$f"; return $?
|
"$f"; return $?
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user