From cee530bb23b78c0dfd18b0c2718cfe41286396df Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 17 Jul 2012 17:44:26 +0200 Subject: 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. --- src/core/shutdown.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/shutdown.c') 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; -- cgit v1.2.3-54-g00ecf