chiark / gitweb /
shutdown: during final killing spree also send SIGHUP in addition to SIGTERM to deal...
[elogind.git] / src / core / shutdown.c
index bcf2eecf33ad0bd74d4e402907c61b58856f62ec..31129b7697edf01ae5de5787b7c5b75816fe4e64 100644 (file)
@@ -195,10 +195,10 @@ int main(int argc, char *argv[]) {
         mlockall(MCL_CURRENT|MCL_FUTURE);
 
         log_info("Sending SIGTERM to remaining processes...");
-        broadcast_signal(SIGTERM, true);
+        broadcast_signal(SIGTERM, true, true);
 
         log_info("Sending SIGKILL to remaining processes...");
-        broadcast_signal(SIGKILL, true);
+        broadcast_signal(SIGKILL, true, false);
 
         if (in_container) {
                 need_swapoff = false;