]> git.ipfire.org Git - thirdparty/systemd.git/commit
sulogin-shell: remove ineffective job mode option from `systemctl isolate` (#6627)
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Wed, 30 Aug 2017 16:11:31 +0000 (17:11 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 30 Aug 2017 16:11:31 +0000 (18:11 +0200)
commit3f1a3d4ac57867dc9ac0e98028c4b6f0fa93ad60
treedf55d3604db8a0a22afe2873035fca2ebe33ef2e
parent5e1771ace0e03ea2924264fded37e905a960c041
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 :).
src/sulogin-shell/systemd-sulogin-shell.in