aboutsummaryrefslogtreecommitdiffstats
path: root/uid.c
diff options
context:
space:
mode:
Diffstat (limited to 'uid.c')
-rw-r--r--uid.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/uid.c b/uid.c
index a4164b44..82bb4add 100644
--- a/uid.c
+++ b/uid.c
@@ -612,10 +612,8 @@ void write_saved_lists(struct query *hostlist, const char *idfile)
/* either nuke the file or write updated last-seen IDs */
if (!idcount && !scratchlist)
{
- if (outlevel >= O_DEBUG) {
- if (access(idfile, F_OK) == 0)
- report(stdout, GT_("Deleting fetchids file.\n"));
- }
+ if (outlevel >= O_DEBUG)
+ report(stdout, GT_("Deleting fetchids file.\n"));
if (unlink(idfile) && errno != ENOENT)
report(stderr, GT_("Error deleting %s: %s\n"), idfile, strerror(errno));
} else {