chiark / gitweb /
job: report the status of first half of JOB_RESTART the same as JOB_STOP
[elogind.git] / 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)