diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-19 00:22:34 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-19 00:22:34 +0100 |
commit | a66d02c3290008d50b2b52f84cfbf46a546ba831 (patch) | |
tree | ba2c64f260e8a256c93f5b722dc926d2343b15ca /main.c | |
parent | 4609154d5513108478f603ff1589e486c001daa9 (diff) |
add functions for dumping server state
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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; |