summaryrefslogtreecommitdiff
path: root/manage.sh
diff options
context:
space:
mode:
Diffstat (limited to 'manage.sh')
-rwxr-xr-xmanage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/manage.sh b/manage.sh
index a450c6dfd..6c609ec1e 100755
--- a/manage.sh
+++ b/manage.sh
@@ -270,6 +270,6 @@ Commands
"
}
-[ "$(command -V "$ACTION" | grep ' function$')" = "" ] \
+[ "$(sed -rn 's/^([^ ]+)\(\) \{$/\1/p' manage.sh | grep "$ACTION")" = "" ] \
&& help "action not found" \
|| "$ACTION" "$2"