summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-27 00:20:21 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-27 00:20:21 +0100
commit8f5847c48e53882b3f94ee2693e65a23edbf8295 (patch)
treef1b9d48226fbb9198b48549af58da0ae4300f7b5
parentf1857be0b96016de27a725339707f8ab7326a70d (diff)
enable startup job again
-rw-r--r--main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.c b/main.c
index 663e7e3af4..052d5029cc 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");