summaryrefslogtreecommitdiff
path: root/shell-completion/bash/machinectl
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion/bash/machinectl')
-rw-r--r--shell-completion/bash/machinectl3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell-completion/bash/machinectl b/shell-completion/bash/machinectl
index 140465d316..61c5402786 100644
--- a/shell-completion/bash/machinectl
+++ b/shell-completion/bash/machinectl
@@ -57,7 +57,8 @@ _machinectl() {
if __contains_word "$prev" ${OPTS[ARG]}; then
case $prev in
--signal|-s)
- comps=$(compgen -A signal)
+ _signals
+ return
;;
--kill-who)
comps='all leader'