summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_shutdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_shutdown b/Completion/Unix/Command/_shutdown
index 2020b9d17..ab98a4325 100644
--- a/Completion/Unix/Command/_shutdown
+++ b/Completion/Unix/Command/_shutdown
@@ -2,7 +2,7 @@
local -a args
-if [[ -d /etc/systemd ]]; then
+if [[ -d /run/systemd/system ]]; then
_arguments \
'--help[display usage information]' \
'(-H --halt)'{-H,--halt}'[halt the machine]' \