summaryrefslogtreecommitdiffabout
path: root/src/config.c
Side-by-side diff
Diffstat (limited to 'src/config.c') (more/less context) (ignore whitespace changes)
-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()
void
config_parse()
{
- int err = 0;
struct grecs_node *tree = grecs_parse(config_file);
if (!tree)
exit(EX_CONFIG);
@@ -399,19 +398,17 @@ config_parse()
if (!synclist) {
error("nothing to do!");
- err = 1;
+ exit(EX_CONFIG);
}
if (synclist_fixup())
- err = 1;
+ exit(EX_CONFIG);
if (sql_host_fixup())
- err = 1;
+ exit(EX_CONFIG);
source_named_conf();
- if (err)
- exit(EX_CONFIG);
if (lint_mode)
exit(0);
if (!tempdir) {

Return to:

Send suggestions and report system problems to the System administrator.