Commit 0ebd74d8 authored by Lennart Poettering's avatar Lennart Poettering
Browse files

job: show failure message only for start jobs

parent 334d0069
......@@ -489,7 +489,7 @@ int job_finish_and_invalidate(Job *j, bool success) {
t = j->type;
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 */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment