mirror of
https://github.com/systemd/systemd.git
synced 2024-12-03 15:23:36 +08: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);
|
||||
|
||||
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 */
|
||||
if (!success) {
|
||||
|
Loading…
Reference in New Issue
Block a user