summaryrefslogtreecommitdiff
path: root/src/job.c
diff options
context:
space:
mode:
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) {