chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
yay, we can start socket units
[elogind.git]
/
main.c
diff --git
a/main.c
b/main.c
index 052d5029cc9ed5b3ce7334935792a43699eb34b7..5e262b4517a1b81a2c9e743469f1deacbd1de848 100644
(file)
--- 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;