From 8a6226720dbb281ad0b409b06e182621cc08b241 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 17 Jul 2003 00:55:18 +0000 Subject: First round ofmlong-delayed bug fixes. svn path=/trunk/; revision=3814 --- fetchmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index e541aa57..8a0cdf0b 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -497,7 +497,7 @@ int main(int argc, char **argv) } else { - if (run.logfile && access(run.logfile, F_OK) == 0) + if (run.logfile && !nodetach && access(run.logfile, F_OK) == 0) { if (!freopen(run.logfile, "a", stdout)) report(stderr, GT_("could not open %s to append logs to \n"), run.logfile); -- cgit v1.2.3