X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fshutdown.c;h=31129b7697edf01ae5de5787b7c5b75816fe4e64;hb=6d99330e26977a9970e33fd83085c8c8c9de660f;hp=b5eb8b12de2752350cf0c164a81b98882f50fd3d;hpb=477def8097245a124f8ff51d17415cf78cde691b;p=elogind.git 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;