summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-27 04:31:52 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-27 04:31:52 +0100
commitacbb02252a38214ecba3aa8a5c9b3669f9c9317e (patch)
tree6c1d40078a245cd4b94d46b00f273cd5b9514aeb /main.c
parentb858b600e46f4a25ddc9fb980e5a73ca5aa2690f (diff)
yay, we can start socket units
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.c b/main.c
index 052d5029cc..5e262b4517 100644
--- a/main.c
+++ b/main.c
@@ -37,7 +37,10 @@ int main(int argc, char *argv[]) {
printf("→ By jobs:\n");
manager_dump_jobs(m, stdout, "\t");
- /* manager_loop(m); */
+ if ((r = manager_loop(m)) < 0) {
+ log_error("Failed to run mainloop: %s", strerror(-r));
+ goto finish;
+ }
retval = 0;