diff options
author | Tony Finch <dot@dotat.at> | 2011-01-14 14:19:40 +0000 |
---|---|---|
committer | Tony Finch <dot@dotat.at> | 2011-01-14 14:19:40 +0000 |
commit | 0761d44e078b0c779c92be127bb4d984c60d0320 (patch) | |
tree | 58816a9c8c8d53be72fcae86dc1bddea0d97a879 /src | |
parent | c0ea85abed9a15203691b049dd76104360fc0dc6 (diff) |
src/deliver.c: log the error message when unlink(spoolname) fails
Diffstat (limited to 'src')
-rw-r--r-- | src/src/deliver.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/src/deliver.c b/src/src/deliver.c index 668e4b2e5..807f03817 100644 --- a/src/src/deliver.c +++ b/src/src/deliver.c @@ -6568,7 +6568,8 @@ if (addr_defer == NULL) else { if (Uunlink(spoolname) < 0) - log_write(0, LOG_MAIN|LOG_PANIC_DIE, "failed to unlink %s", spoolname); + log_write(0, LOG_MAIN|LOG_PANIC_DIE, "failed to unlink %s: %s", + spoolname, strerror(errno)); } } |