summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cfgparser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cfgparser.c b/cfgparser.c
index 42f9ee5e77..912fc775da 100644
--- a/cfgparser.c
+++ b/cfgparser.c
@@ -267,12 +267,13 @@ int parse_config_file(struct config *conf, char *conffile)
}
if ((fp = fopen(conffile, "r")) == NULL) {
+ if (!verbose) printf("Reading config file: %s", conffile);
printf(": %s\n", strerror(errno));
free(line);
ret = 0;
goto out;
}
- printf("\n");
+ if (verbose) printf("\n");
while (fgets(line, MAX_LINE_LEN, fp)) {
line_num++;