[Libreoffice-commits] online.git: common/SigUtil.cpp
Ashod Nakashian (via logerrit)
logerrit at kemper.freedesktop.org
Mon Nov 18 05:49:11 UTC 2019
common/SigUtil.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4f15d1bd194c5ecec6ab1de0a0809b9d4eb2dab0
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
AuthorDate: Sun Nov 17 23:17:28 2019 -0500
Commit: Michael Meeks <michael.meeks at collabora.com>
CommitDate: Mon Nov 18 06:48:52 2019 +0100
wsd: SIGTERM signals clean shutdown now
Change-Id: I8d5bf7232036bb103cd7433cd5b1c7b5021e06d4
Reviewed-on: https://gerrit.libreoffice.org/83052
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
Tested-by: Michael Meeks <michael.meeks at collabora.com>
diff --git a/common/SigUtil.cpp b/common/SigUtil.cpp
index 4003d8d73..be626ff6b 100644
--- a/common/SigUtil.cpp
+++ b/common/SigUtil.cpp
@@ -157,7 +157,7 @@ namespace SigUtil
{
bool hardExit = false;
const char *domain;
- if (!ShutdownRequestFlag && signal == SIGINT)
+ if (!ShutdownRequestFlag && (signal == SIGINT || signal == SIGTERM))
{
domain = " Shutdown signal received: ";
ShutdownRequestFlag = true;
More information about the Libreoffice-commits
mailing list