summaryrefslogtreecommitdiff
path: root/src/core/shutdown.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-17 17:44:26 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-17 17:44:26 +0200
commitcee530bb23b78c0dfd18b0c2718cfe41286396df (patch)
tree1773a17edc3572b6f522ec877b935424106c2484 /src/core/shutdown.c
parent92a1fd9e95954a557d6fe27b56f5ef1b89fc2f5e (diff)
switch-root: don't wait for processes
When we transition from the initrd to the main system, don't reap processes, so that they can be handled normally after deserialization.
Diffstat (limited to 'src/core/shutdown.c')
-rw-r--r--src/core/shutdown.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/shutdown.c b/src/core/shutdown.c
index 78dccfb724..105a604542 100644
--- a/src/core/shutdown.c
+++ b/src/core/shutdown.c
@@ -177,10 +177,10 @@ int main(int argc, char *argv[]) {
mlockall(MCL_CURRENT|MCL_FUTURE);
log_info("Sending SIGTERM to remaining processes...");
- broadcast_signal(SIGTERM);
+ broadcast_signal(SIGTERM, true);
log_info("Sending SIGKILL to remaining processes...");
- broadcast_signal(SIGKILL);
+ broadcast_signal(SIGKILL, true);
if (in_container) {
need_swapoff = false;