aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 0db805d7..69d80e23 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -373,10 +373,13 @@ int main(int argc, char **argv)
{
int st;
- if (!versioninfo && (st = prc_filecheck(run.idfile, !versioninfo)) != 0)
+ if (!versioninfo && (st = prc_filecheck(run.idfile, !versioninfo)) != 0) {
exit(st);
- else
- initialize_saved_lists(querylist, run.idfile);
+ } else {
+ if ((st = initialize_saved_lists(querylist, run.idfile))) {
+ exit(st);
+ }
+ }
}
#endif /* POP3_ENABLE */