From 0ebd74d8d9ffc4ea47cc8fe8798466bdf4e6967f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 27 Sep 2010 01:37:22 +0200 Subject: [PATCH] job: show failure message only for start jobs --- src/job.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/job.c b/src/job.c index c219b0d18..0b6d321e9 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 */ -- 2.30.2