aboutsummaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/config.c b/src/config.c
index 5ff9280..6ddb2ea 100644
--- a/src/config.c
+++ b/src/config.c
@@ -388,7 +388,6 @@ synclist_fixup()
388void 388void
389config_parse() 389config_parse()
390{ 390{
391 int err = 0;
392 struct grecs_node *tree = grecs_parse(config_file); 391 struct grecs_node *tree = grecs_parse(config_file);
393 if (!tree) 392 if (!tree)
394 exit(EX_CONFIG); 393 exit(EX_CONFIG);
@@ -399,19 +398,17 @@ config_parse()
399 398
400 if (!synclist) { 399 if (!synclist) {
401 error("nothing to do!"); 400 error("nothing to do!");
402 err = 1; 401 exit(EX_CONFIG);
403 } 402 }
404 403
405 if (synclist_fixup()) 404 if (synclist_fixup())
406 err = 1; 405 exit(EX_CONFIG);
407 406
408 if (sql_host_fixup()) 407 if (sql_host_fixup())
409 err = 1; 408 exit(EX_CONFIG);
410 409
411 source_named_conf(); 410 source_named_conf();
412 411
413 if (err)
414 exit(EX_CONFIG);
415 if (lint_mode) 412 if (lint_mode)
416 exit(0); 413 exit(0);
417 if (!tempdir) { 414 if (!tempdir) {

Return to:

Send suggestions and report system problems to the System administrator.