mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-22 08:03:46 +00:00
job: show failure message only for start jobs
This commit is contained in:
parent
334d0069f5
commit
0ebd74d8d9
@ -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 */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user