about summary refs log tree commit diff
path: root/Completion/Bsd/_kld
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Bsd/_kld')
-rw-r--r--Completion/Bsd/_kld2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Bsd/_kld b/Completion/Bsd/_kld
index 8fc719ccb..eefc8bf61 100644
--- a/Completion/Bsd/_kld
+++ b/Completion/Bsd/_kld
@@ -21,7 +21,7 @@ _kld_unload_id() {
 }
 
 _kld() {
-  case "${words[1]:t}" in
+  case "$service" in
   kldload)
     _arguments -s \
         '-v[be verbose]' \