oops. This makes more sense.

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2018-03-06 18:29:30 +03:00
parent 8cee6abd50
commit bf85069b32

2
ssm
View File

@ -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 $?
} }