diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-07-07 00:00:59 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-07-07 00:00:59 +0200 |
commit | 9e58ff9c5c3bd46a796a20fc6c304cdab489f334 (patch) | |
tree | 3bdef2c8802ee1b1deab9729b4f198fdfb2780f1 /src/job.c | |
parent | fa0f4d8a3a640b235f12e9eb998ce726495622c1 (diff) |
manager: optionally print status updates to console on boot
Diffstat (limited to 'src/job.c')
-rw-r--r-- | src/job.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -483,6 +483,9 @@ int job_finish_and_invalidate(Job *j, bool success) { t = j->type; job_free(j); + if (!success) + unit_status_printf(u, "Starting %s... " ANSI_HIGHLIGHT_ON "failed" ANSI_HIGHLIGHT_OFF ".\n", unit_description(u)); + /* Fail depending jobs on failure */ if (!success) { |