diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-02-16 19:34:24 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-02-16 19:34:38 +0100 |
commit | 70db8e3a0b68cf2eab500592ba16b2acf0737331 (patch) | |
tree | 3bf2d6f5483bc1ad195143ef57255cfd27c06b41 /units/rescue.service.m4 | |
parent | da71f23cda946a98885cb0833d0022ff7439cef3 (diff) |
rescue: make 'systemctl default' fail if there is already something running when the shell exited
Diffstat (limited to 'units/rescue.service.m4')
-rw-r--r-- | units/rescue.service.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/rescue.service.m4 b/units/rescue.service.m4 index 6e03c20d80..ba29f6e6e6 100644 --- a/units/rescue.service.m4 +++ b/units/rescue.service.m4 @@ -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 |