mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
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 :).
This commit is contained in:
parent
5e1771ace0
commit
3f1a3d4ac5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user