aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvmx2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmx b/kvmx
index 16da59d..1cf2a8f 100755
--- a/kvmx
+++ b/kvmx
@@ -1068,7 +1068,7 @@ function kvmx_open {
}
# Dispatch
-if type kvmx_$ACTION 2> /dev/null | grep -q 'function'; then
+if type kvmx_$ACTION 2> /dev/null | grep -q "kvmx_$ACTION ()"; then
__kvmx_initialize
kvmx_$ACTION $*
else