summaryrefslogtreecommitdiff
path: root/shell-completion/bash/localectl
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion/bash/localectl')
-rw-r--r--shell-completion/bash/localectl2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/bash/localectl b/shell-completion/bash/localectl
index bec9e78c64..84e2a6b09e 100644
--- a/shell-completion/bash/localectl
+++ b/shell-completion/bash/localectl
@@ -52,7 +52,7 @@ _localectl() {
[X11]='set-x11-keymap'
)
- for ((i=0; i <= COMP_CWORD; i++)); do
+ for ((i=0; i < COMP_CWORD; i++)); do
if __contains_word "${COMP_WORDS[i]}" ${VERBS[*]}; then
verb=${COMP_WORDS[i]}
break