From 9107f6f45fe2cb1ea1e73023b8f5ef417867fd7a Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 29 Oct 1996 19:51:48 +0000 Subject: Make fetchmail -q faster. svn path=/trunk/; revision=426 --- NEWS | 1 + fetchmail.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 12bfed17..9c54fd6f 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ pl 1.9.5 (): * Added -N, --nodetach option for debugging purposes. * Use interval timers for poll-interval sleep and nonresponse timeout. +* fetchmail -q no longer parses the configuration file. pl 1.9.4 (Mon Oct 28 20:58:48 EST 1994): * Correct status interpretation in closemailpipe() (thanks to Neil Harkins). diff --git a/fetchmail.c b/fetchmail.c index 905fa390..bf64ed0a 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -157,7 +157,7 @@ char **argv; rcfile); exit(0); } - else if (querylist == NULL) { + else if (!quitmode && querylist == NULL) { (void) fputs("fetchmail: no mailservers have been specified.\n", stderr); exit(PS_SYNTAX); } @@ -385,7 +385,7 @@ char **argv; (poll_interval); if (outlevel == O_VERBOSE) - fprintf(stderr, "fetchmail: normal termination, status %d\n", popstatus); + fprintf(stderr,"fetchmail: normal termination, status %d\n",popstatus); termhook(0); exit(popstatus); -- cgit v1.2.3