diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-29 19:51:48 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-29 19:51:48 +0000 |
commit | 9107f6f45fe2cb1ea1e73023b8f5ef417867fd7a (patch) | |
tree | baa36d0895daa606215a70900525a038c8bbb3db | |
parent | 5d0ef5e37f24ae159d39b13358a297aab55b991e (diff) | |
download | fetchmail-9107f6f45fe2cb1ea1e73023b8f5ef417867fd7a.tar.gz fetchmail-9107f6f45fe2cb1ea1e73023b8f5ef417867fd7a.tar.bz2 fetchmail-9107f6f45fe2cb1ea1e73023b8f5ef417867fd7a.zip |
Make fetchmail -q faster.
svn path=/trunk/; revision=426
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | fetchmail.c | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -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); |