mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
completion: fix 'unbound variables' errors
Fixes https://github.com/systemd/systemd/issues/19987
This commit is contained in:
@@ -67,7 +67,7 @@ _localectl() {
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ -z $verb ]]; then
|
||||
if [[ -z ${verb-} ]]; then
|
||||
comps=${VERBS[*]}
|
||||
elif __contains_word "$verb" ${VERBS[VARIANTS]}; then
|
||||
comps=$(command localectl list-x11-keymap-layouts)
|
||||
|
||||
Reference in New Issue
Block a user