summaryrefslogtreecommitdiffstats
path: root/shell-completion/bash/systemd-delta
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@microsoft.com>2021-06-22 15:56:19 +0200
committerLuca Boccassi <luca.boccassi@microsoft.com>2021-06-22 15:56:47 +0200
commit36ec026830c6978be8bd39f3c6d1d7822495e07f (patch)
tree6d0fa55ac2901264012977d7cde0dd9baf703ba4 /shell-completion/bash/systemd-delta
parentcompletion/systemd-delta,-resolve: autocomplete with parameters (diff)
downloadsystemd-36ec026830c6978be8bd39f3c6d1d7822495e07f.tar.xz
systemd-36ec026830c6978be8bd39f3c6d1d7822495e07f.zip
completion: fix 'unbound variables' errors
Fixes https://github.com/systemd/systemd/issues/19987
Diffstat (limited to 'shell-completion/bash/systemd-delta')
-rw-r--r--shell-completion/bash/systemd-delta2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/bash/systemd-delta b/shell-completion/bash/systemd-delta
index 1a24dc0710..f94c128533 100644
--- a/shell-completion/bash/systemd-delta
+++ b/shell-completion/bash/systemd-delta
@@ -53,7 +53,7 @@ _systemd-delta() {
return 0
fi
- COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
+ COMPREPLY=( $(compgen -W '${comps-}' -- "$cur") )
return 0
}