summaryrefslogtreecommitdiff
path: root/contrib/sysctl
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/sysctl')
-rw-r--r--contrib/sysctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/sysctl b/contrib/sysctl
index cd40c453..41cbd7ee 100644
--- a/contrib/sysctl
+++ b/contrib/sysctl
@@ -6,7 +6,7 @@ _sysctl()
local cur
COMPREPLY=()
- cur=`_get_cword`
+ _get_comp_words_by_ref cur
COMPREPLY=( $( compgen -W "$(sysctl -N -a 2>/dev/null)" -- "$cur" ) )