job: report the status of first half of JOB_RESTART the same as JOB_STOP

This commit is contained in:
Michal Schmidt 2012-05-13 23:28:46 +02:00
parent c69182961b
commit 1f136e7acf

View 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)