- if (use_chown && Uchown(buffer, exim_uid, exim_gid))
- {
- if (!panic) return FALSE;
- log_write(0, LOG_MAIN|LOG_PANIC_DIE,
- "Failed to set owner on directory \"%s\": %s\n", buffer, strerror(errno));
- }
+ if (use_chown && exim_chown(path, exim_uid, exim_gid))
+ { p = US"set owner on"; goto bad; }