Commit 70db8e3a authored by Lennart Poettering's avatar Lennart Poettering
Browse files

rescue: make 'systemctl default' fail if there is already something running when the shell exited

parent da71f23c
......@@ -23,7 +23,7 @@ m4_ifdef(`TARGET_FEDORA',
`EnvironmentFile=/etc/sysconfig/init
ExecStart=-/bin/bash -c "exec ${SINGLE}"',
`ExecStart=-/sbin/sulogin')
ExecStopPost=/bin/systemctl default
ExecStopPost=-/bin/systemctl --fail default
StandardInput=tty-force
KillMode=process-group
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment