From 9107f6f45fe2cb1ea1e73023b8f5ef417867fd7a Mon Sep 17 00:00:00 2001
From: "Eric S. Raymond" <esr@thyrsus.com>
Date: Tue, 29 Oct 1996 19:51:48 +0000
Subject: Make fetchmail -q faster.

svn path=/trunk/; revision=426
---
 fetchmail.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'fetchmail.c')

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