main: use bar's return value as exit value

This commit is contained in:
Daniel Eklöf 2018-12-29 17:57:30 +01:00
parent 10877d7c2e
commit 449210cc07

2
main.c
View file

@ -103,5 +103,5 @@ main(int argc, const char *const *argv)
yml_destroy(conf); yml_destroy(conf);
close(abort_fd); close(abort_fd);
return 0; return res;
} }