diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-25 18:08:02 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-25 22:10:22 +0100 |
commit | 0bee65f0622c4faa8ac8ae771cc0c8a936dfa284 (patch) | |
tree | 7ee568dce15589f4b2d3e1d38220f6deb8ee847f /src/core/main.c | |
parent | 26fefda707e6511733f48da03b281a004dba6abf (diff) |
shutdown: during final killing spree also send SIGHUP in addition to SIGTERM to deal with shells
This makes shutdown a bit faster if debug-shell.service is enabled.
Diffstat (limited to 'src/core/main.c')
-rw-r--r-- | src/core/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/main.c b/src/core/main.c index bc92f65fd6..dbc98db84a 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -1745,7 +1745,7 @@ finish: * initrd, but don't wait for them, so that we * can handle the SIGCHLD for them after * deserializing. */ - broadcast_signal(SIGTERM, false); + broadcast_signal(SIGTERM, false, true); /* And switch root */ r = switch_root(switch_root_dir); |