From 9e58ff9c5c3bd46a796a20fc6c304cdab489f334 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 7 Jul 2010 00:00:59 +0200 Subject: manager: optionally print status updates to console on boot --- src/job.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/job.c') 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) { -- cgit v1.2.3-54-g00ecf