aboutsummaryrefslogtreecommitdiff
path: root/kvmx
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-07-11 09:58:36 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-07-11 09:58:36 -0300
commit6f45b933c72c5dbba8a97a2d672da23b2b679698 (patch)
tree33079644df976683ce370266cc74e6b245ce10a5 /kvmx
parent860580900d1e3fe7d2468ccb9b882f703280ce27 (diff)
downloadkvmx-6f45b933c72c5dbba8a97a2d672da23b2b679698.tar.gz
kvmx-6f45b933c72c5dbba8a97a2d672da23b2b679698.tar.bz2
Test for kvmx internal function in a locale-independent way
Diffstat (limited to 'kvmx')
-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