]> err.no Git - systemd/commitdiff
enable startup job again
authorLennart Poettering <lennart@poettering.net>
Tue, 26 Jan 2010 23:20:21 +0000 (00:20 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Jan 2010 23:20:21 +0000 (00:20 +0100)
main.c

diff --git a/main.c b/main.c
index 663e7e3af4f23e76f512a984939a06191ba33293..052d5029cc9ed5b3ce7334935792a43699eb34b7 100644 (file)
--- 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");