chiark / gitweb /
job: report the status of first half of JOB_RESTART the same as JOB_STOP
authorMichal Schmidt <mschmidt@redhat.com>
Sun, 13 May 2012 21:28:46 +0000 (23:28 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Mon, 14 May 2012 12:29:54 +0000 (14:29 +0200)
src/core/job.c

index 107961ae25457376fb78a98bd812223d6021f711..c9ca60d88dc965c2bcfc3b2d3c739bebac24b4b2 100644 (file)
@@ -587,7 +587,7 @@ static void job_print_status_message(Unit *u, JobType t, JobResult result) {
                         ;
                 }
 
                         ;
                 }
 
-        } else if (t == JOB_STOP) {
+        } else if (t == JOB_STOP || t == JOB_RESTART) {
 
                 format = format_table->finished_stop_job[result];
                 if (!format)
 
                 format = format_table->finished_stop_job[result];
                 if (!format)