From: Lennart Poettering Date: Tue, 26 Jan 2010 23:20:21 +0000 (+0100) Subject: enable startup job again X-Git-Tag: 0.git+20100605+dfd8ee-1~413 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f5847c48e53882b3f94ee2693e65a23edbf8295;p=systemd enable startup job again --- diff --git a/main.c b/main.c index 663e7e3a..052d5029 100644 --- a/main.c +++ b/main.c @@ -26,10 +26,10 @@ int main(int argc, char *argv[]) { goto finish; } - /* if ((r = manager_add_job(m, JOB_START, target, JOB_REPLACE, false, &job)) < 0) { */ - /* log_error("Failed to start default target: %s", strerror(-r)); */ - /* goto finish; */ - /* } */ + if ((r = manager_add_job(m, JOB_START, target, JOB_REPLACE, false, &job)) < 0) { + log_error("Failed to start default target: %s", strerror(-r)); + goto finish; + } printf("→ By units:\n"); manager_dump_units(m, stdout, "\t");