fix(core): Exit with correct status code on failure

This commit is contained in:
Michael Carlberg 2016-06-10 16:19:27 +02:00
parent 613c027fe1
commit 0e52c02a5f

View file

@ -180,6 +180,7 @@ int main(int argc, char **argv)
} catch (Exception &e) {
logger->error(e.what());
retval = EXIT_FAILURE;
}
if (eventloop)