X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fjob.c;h=2199d75f6092df0a4bc232f2ca07dc8080f6c667;hp=a090ec9b113cc2e5c3c111c55d6b97628e98d0db;hb=9e58ff9c5c3bd46a796a20fc6c304cdab489f334;hpb=fa0f4d8a3a640b235f12e9eb998ce726495622c1 diff --git a/src/job.c b/src/job.c index a090ec9b1..2199d75f6 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) {