aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-04 18:35:36 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-04 18:35:36 +0000
commitfdb1789145dbf7d5c1525c9e031fa8908af69654 (patch)
treecb9dfa953a8dd9746a8904311ffad5d9e383a373 /fetchmail.c
parente3a7feb56a5412385d249277cd78ce3ba0193b20 (diff)
downloadfetchmail-fdb1789145dbf7d5c1525c9e031fa8908af69654.tar.gz
fetchmail-fdb1789145dbf7d5c1525c9e031fa8908af69654.tar.bz2
fetchmail-fdb1789145dbf7d5c1525c9e031fa8908af69654.zip
Allow no run control file.
svn path=/trunk/; revision=216
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 0e228811..c068df0f 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -161,7 +161,11 @@ char **argv;
/* perhaps we just want to check options? */
if (versioninfo) {
- printf("Taking options from command line and %s\n", rcfile);
+ printf("Taking options from command line");
+ if (access(rcfile, 0))
+ printf("\n");
+ else
+ printf("and %s\n", rcfile);
for (hostp = hostlist; hostp; hostp = hostp->next) {
printf("Options for host %s:\n", hostp->servername);
dump_params(hostp);