chiark / gitweb /
add functions for dumping server state
[elogind.git] / main.c
diff --git a/main.c b/main.c
index 08ccd4f..f19fb6b 100644 (file)
--- a/main.c
+++ b/main.c
@@ -23,10 +23,12 @@ int main(int argc, char *argv[]) {
                 goto finish;
         }
 
-        if ((r = manager_add_job(m, JOB_START, milestone, JOB_REPLACE, &job)) < 0) {
-                fprintf(stderr, "Failed to start default milestone: %s\n", strerror(-r));
-                goto finish;
-        }
+        manager_dump_names(m, stdout);
+
+        /* if ((r = manager_add_job(m, JOB_START, milestone, JOB_REPLACE, &job)) < 0) { */
+        /*         fprintf(stderr, "Failed to start default milestone: %s\n", strerror(-r)); */
+        /*         goto finish; */
+        /* } */
 
         retval = 0;