summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/responder/nss/nsssrv_mmap_cache.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/responder/nss/nsssrv_mmap_cache.c b/src/responder/nss/nsssrv_mmap_cache.c
index 6273b763..ec05f761 100644
--- a/src/responder/nss/nsssrv_mmap_cache.c
+++ b/src/responder/nss/nsssrv_mmap_cache.c
@@ -826,6 +826,11 @@ static errno_t sss_mc_create_file(struct sss_mc_ctx *mc_ctx)
}
close(ofd);
+ } else if (errno != ENOENT) {
+ ret = errno;
+ DEBUG(SSSDBG_CRIT_FAILURE,
+ ("Failed to open old memory cache file %s: %d(%s).\n",
+ mc_ctx->file, ret, strerror(ret)));
}
errno = 0;