summaryrefslogtreecommitdiff
path: root/shell-completion/bash/timedatectl
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion/bash/timedatectl')
-rw-r--r--shell-completion/bash/timedatectl2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/bash/timedatectl b/shell-completion/bash/timedatectl
index 3e72ce6655..29dc27b39c 100644
--- a/shell-completion/bash/timedatectl
+++ b/shell-completion/bash/timedatectl
@@ -76,7 +76,7 @@ _timedatectl() {
fi
done
- if [[ -z $verb ]]; then
+ if [[ -z ${verb-} ]]; then
comps=${VERBS[*]}
elif __contains_word "$verb" ${VERBS[BOOLEAN]}; then
comps='true false'