aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2003-07-17 00:55:18 +0000
committerEric S. Raymond <esr@thyrsus.com>2003-07-17 00:55:18 +0000
commit8a6226720dbb281ad0b409b06e182621cc08b241 (patch)
treec949205e554a713a1b87d130e0cc34807614b9e3 /fetchmail.c
parent8c73d06cb2761c6d4082d00188a82007b22c8095 (diff)
downloadfetchmail-8a6226720dbb281ad0b409b06e182621cc08b241.tar.gz
fetchmail-8a6226720dbb281ad0b409b06e182621cc08b241.tar.bz2
fetchmail-8a6226720dbb281ad0b409b06e182621cc08b241.zip
First round ofmlong-delayed bug fixes.
svn path=/trunk/; revision=3814
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c2
1 files changed, 1 insertions, 1 deletions
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);