summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/debug.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/debug.c b/src/util/debug.c
index 7816bc41..e57656d7 100644
--- a/src/util/debug.c
+++ b/src/util/debug.c
@@ -50,6 +50,11 @@ errno_t set_debug_file_from_fd(const int fd)
if (dummy == NULL) {
ret = errno;
DEBUG(1, ("fdopen failed [%d][%s].\n", ret, strerror(ret)));
+ sss_log(SSS_LOG_ERR,
+ "Could not open debug file descriptor [%d]. "
+ "Debug messages will not be written to the file "
+ "for this child process [%s][%s]\n",
+ fd, debug_prg_name, strerror(ret));
return ret;
}