X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/3634fc257bd0667daef14d72005cd87c735bbb24..9d9c374678ae4b04869c90bc5980acfcfb68c336:/src/src/dbfn.c diff --git a/src/src/dbfn.c b/src/src/dbfn.c index c74ac9c50..4a1c20fe6 100644 --- a/src/src/dbfn.c +++ b/src/src/dbfn.c @@ -208,7 +208,8 @@ if (created && geteuid() == root_uid) if (Ustat(buffer, &statbuf) >= 0 && statbuf.st_uid != exim_uid) { DEBUG(D_hints_lookup) debug_printf("ensuring %s is owned by exim\n", buffer); - (void)Uchown(buffer, exim_uid, exim_gid); + if (Uchown(buffer, exim_uid, exim_gid)) + DEBUG(D_hints_lookup) debug_printf("failed setting %s to owned by exim\n", buffer); } } }