mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-01-13 07:26:30 +07:00
job: make status message printing more verbose
This commit is contained in:
parent
a4477e6852
commit
3036c489fa
@ -498,7 +498,7 @@ int job_finish_and_invalidate(Job *j, bool success) {
|
|||||||
job_free(j);
|
job_free(j);
|
||||||
|
|
||||||
if (!success && j->type == JOB_START)
|
if (!success && j->type == JOB_START)
|
||||||
unit_status_printf(u, "Starting %s " ANSI_HIGHLIGHT_ON "failed" ANSI_HIGHLIGHT_OFF ".\n", unit_description(u));
|
unit_status_printf(u, "Starting %s " ANSI_HIGHLIGHT_ON "failed" ANSI_HIGHLIGHT_OFF ", see 'systemctl status %s' for details.\n", unit_description(u), u->meta.id);
|
||||||
|
|
||||||
/* Fail depending jobs on failure */
|
/* Fail depending jobs on failure */
|
||||||
if (!success) {
|
if (!success) {
|
||||||
|
Loading…
Reference in New Issue
Block a user