1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-15 23:24:12 +03:00

enable startup job again

This commit is contained in:
Lennart Poettering 2010-01-27 00:20:21 +01:00
parent f1857be0b9
commit 8f5847c48e

8
main.c
View File

@ -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");