]> err.no Git - systemd/commitdiff
job: make status message printing more verbose
authorLennart Poettering <lennart@poettering.net>
Mon, 14 Feb 2011 22:10:31 +0000 (23:10 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 14 Feb 2011 22:10:31 +0000 (23:10 +0100)
src/job.c

index 30a46bea8bfea54e112e64c7008b58ee425b475d..18a249592bbc193f1af7bbb5b5c6594e121b77b9 100644 (file)
--- a/src/job.c
+++ b/src/job.c
@@ -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) {