summaryrefslogtreecommitdiff
path: root/src/sulogin-shell
diff options
context:
space:
mode:
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>2017-08-30 17:11:31 +0100
committerLennart Poettering <lennart@poettering.net>2017-08-30 18:11:31 +0200
commit3f1a3d4ac57867dc9ac0e98028c4b6f0fa93ad60 (patch)
treedf55d3604db8a0a22afe2873035fca2ebe33ef2e /src/sulogin-shell
parent5e1771ace0e03ea2924264fded37e905a960c041 (diff)
downloadsystemd-3f1a3d4ac57867dc9ac0e98028c4b6f0fa93ad60.tar.gz
sulogin-shell: remove ineffective job mode option from `systemctl isolate` (#6627)
`systemctl default` uses job mode `isolate` (see `action_table`). The job mode option is ignored. Note that exiting the emergency shell service by using e.g. `systemctl isolate multi-user` or `systemctl start multi-user.target` already kills `emergency.service`. There's only a potential conflict between your command and the command in systemd-sulogin-shell if you run something like `systemctl start --no-block multi-user.target; exit`. Which is nothing like what we told them to do :).
Diffstat (limited to 'src/sulogin-shell')
-rwxr-xr-xsrc/sulogin-shell/systemd-sulogin-shell.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sulogin-shell/systemd-sulogin-shell.in b/src/sulogin-shell/systemd-sulogin-shell.in
index 103f841a57..5cd068ad24 100755
--- a/src/sulogin-shell/systemd-sulogin-shell.in
+++ b/src/sulogin-shell/systemd-sulogin-shell.in
@@ -9,4 +9,4 @@ echo "system logs, \"systemctl reboot\" to reboot, \"systemctl default\" or ^D t
echo "into default mode."
@SULOGIN@
-@SYSTEMCTL@ --job-mode=fail --no-block default
+@SYSTEMCTL@ --no-block default