aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index baf3dc8..292c9ff 100644
--- a/src/main.c
+++ b/src/main.c
@@ -206,12 +206,14 @@ main(int argc, char **argv)
b_slist_t *s = blogc_source_parse_from_files(config, sources, &err);
if (err != NULL) {
blogc_error_print(err);
+ rv = 2;
goto cleanup2;
}
b_slist_t* l = blogc_template_parse_from_file(template, &err);
if (err != NULL) {
blogc_error_print(err);
+ rv = 2;
goto cleanup3;
}