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