summaryrefslogtreecommitdiff
path: root/src/job.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-07 00:00:59 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-07 00:00:59 +0200
commit9e58ff9c5c3bd46a796a20fc6c304cdab489f334 (patch)
tree3bdef2c8802ee1b1deab9729b4f198fdfb2780f1 /src/job.c
parentfa0f4d8a3a640b235f12e9eb998ce726495622c1 (diff)
manager: optionally print status updates to console on boot
Diffstat (limited to 'src/job.c')
-rw-r--r--src/job.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/job.c b/src/job.c
index a090ec9b11..2199d75f60 100644
--- a/src/job.c
+++ b/src/job.c
@@ -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) {