summaryrefslogtreecommitdiff
path: root/src/providers
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/data_provider_be.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/providers/data_provider_be.c b/src/providers/data_provider_be.c
index ccd51b45..6b58d88a 100644
--- a/src/providers/data_provider_be.c
+++ b/src/providers/data_provider_be.c
@@ -2891,7 +2891,11 @@ int main(int argc, const char *argv[])
return 2;
}
- setenv(SSS_DOM_ENV, be_domain, 1);
+ ret = setenv(SSS_DOM_ENV, be_domain, 1);
+ if (ret != 0) {
+ DEBUG(SSSDBG_MINOR_FAILURE, ("Setting "SSS_DOM_ENV" failed, journald "
+ "logging mightnot work as expected\n"));
+ }
ret = die_if_parent_died();
if (ret != EOK) {