33 lines
957 B
Diff
33 lines
957 B
Diff
From 3f52de891cba55230730602d41c3811cf1b17d96 Mon Sep 17 00:00:00 2001
|
|
From: Alexey Tikhonov <atikhono@redhat.com>
|
|
Date: Mon, 9 Dec 2019 18:26:56 +0100
|
|
Subject: [PATCH 9/9] util/server: improved debug at shutdown
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Relates: https://pagure.io/SSSD/sssd/issue/4088
|
|
|
|
Reviewed-by: Michal Židek <mzidek@redhat.com>
|
|
---
|
|
src/util/server.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/util/server.c b/src/util/server.c
|
|
index ee57ac128..33524066e 100644
|
|
--- a/src/util/server.c
|
|
+++ b/src/util/server.c
|
|
@@ -242,7 +242,8 @@ void orderly_shutdown(int status)
|
|
kill(-getpgrp(), SIGTERM);
|
|
}
|
|
#endif
|
|
- if (status == 0) sss_log(SSS_LOG_INFO, "Shutting down");
|
|
+ DEBUG(SSSDBG_IMPORTANT_INFO, "Shutting down (status = %d)", status);
|
|
+ sss_log(SSS_LOG_INFO, "Shutting down (status = %d)", status);
|
|
exit(status);
|
|
}
|
|
|
|
--
|
|
2.20.1
|
|
|