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:
parent
f1857be0b9
commit
8f5847c48e
8
main.c
8
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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user