mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 08:56:15 +09:00
job: show failure message only for start jobs
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user