summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/server.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/util/server.c b/src/util/server.c
index 3dcfccaf..b1c59e1d 100644
--- a/src/util/server.c
+++ b/src/util/server.c
@@ -426,7 +426,11 @@ int server_setup(const char *name, int flags,
/* To make sure the domain cannot be set from the environment, unset the
* variable explicitly when setting up any server. Backends later set the
* value after reading domain from the configuration */
- unsetenv(SSS_DOM_ENV);
+ ret = unsetenv(SSS_DOM_ENV);
+ if (ret != 0) {
+ DEBUG(SSSDBG_MINOR_FAILURE, ("Unsetting "SSS_DOM_ENV" failed, journald "
+ "logging mightnot work as expected\n"));
+ }
setup_signals();