diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-07-03 18:59:37 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-07-03 18:59:37 +0000 |
commit | 7956b1555138ce0eb84e41b0df7d708fd88129cf (patch) | |
tree | 8f1b05285ac5ebead50f0c76d93d408172a7fe0f /uid.c | |
parent | 5f3c76c1a021ff6643ea7db8fd97dcb5fb1e68da (diff) | |
download | fetchmail-7956b1555138ce0eb84e41b0df7d708fd88129cf.tar.gz fetchmail-7956b1555138ce0eb84e41b0df7d708fd88129cf.tar.bz2 fetchmail-7956b1555138ce0eb84e41b0df7d708fd88129cf.zip |
Don't complain if the .fetchids file we're trying to delete is already gone.
Reported by Miloslav Trmac.
svn path=/trunk/; revision=4075
Diffstat (limited to 'uid.c')
-rw-r--r-- | uid.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -610,7 +610,7 @@ void write_saved_lists(struct query *hostlist, const char *idfile) { if (outlevel >= O_DEBUG) report(stdout, GT_("Deleting fetchids file.\n")); - if (unlink(idfile)) + if (unlink(idfile) && errno != ENOENT) report(stderr, GT_("Error deleting %s: %s\n"), strerror(errno)); } else { char *newnam = xmalloc(strlen(idfile) + 2); |