diff options
-rw-r--r-- | main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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"); |