summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/job.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/job.c b/src/job.c
index c219b0d18b..0b6d321e99 100644
--- a/src/job.c
+++ b/src/job.c
@@ -489,7 +489,7 @@ int job_finish_and_invalidate(Job *j, bool success) {
t = j->type;
job_free(j);
- if (!success)
+ if (!success && j->type == JOB_START)
unit_status_printf(u, "Starting %s " ANSI_HIGHLIGHT_ON "failed" ANSI_HIGHLIGHT_OFF ".\n", unit_description(u));
/* Fail depending jobs on failure */