summaryrefslogtreecommitdiff
path: root/shell-completion/bash/systemd-analyze
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion/bash/systemd-analyze')
-rw-r--r--shell-completion/bash/systemd-analyze4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell-completion/bash/systemd-analyze b/shell-completion/bash/systemd-analyze
index eded49b50e..36fcf432ff 100644
--- a/shell-completion/bash/systemd-analyze
+++ b/shell-completion/bash/systemd-analyze
@@ -93,12 +93,12 @@ _systemd_analyze() {
return 0
fi
- if [[ -z $verb && $cur = -* ]]; then
+ if [[ -z ${verb-} && $cur = -* ]]; then
COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
return 0
fi
- if [[ -z $verb ]]; then
+ if [[ -z ${verb-} ]]; then
comps=${VERBS[*]}
elif __contains_word "$verb" ${VERBS[STANDALONE]}; then