X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fshutdown.c;h=31129b7697edf01ae5de5787b7c5b75816fe4e64;hp=b5eb8b12de2752350cf0c164a81b98882f50fd3d;hb=3fa5dd6de798e17d93531bc900b8e2dc587c38f3;hpb=477def8097245a124f8ff51d17415cf78cde691b diff --git a/src/core/shutdown.c b/src/core/shutdown.c index b5eb8b12d..31129b769 100644 --- a/src/core/shutdown.c +++ b/src/core/shutdown.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include @@ -196,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;