diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-09-27 01:37:22 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-09-27 01:37:22 +0200 |
commit | 0ebd74d8d9ffc4ea47cc8fe8798466bdf4e6967f (patch) | |
tree | fa70e043732d4c48b793e63b4f714b4f7ae78ded /src | |
parent | 334d0069f5c5239a30329e370827cfe6f13de3ea (diff) |
job: show failure message only for start jobs
Diffstat (limited to 'src')
-rw-r--r-- | src/job.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |