summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2012-05-13 23:28:46 +0200
committerMichal Schmidt <mschmidt@redhat.com>2012-05-14 14:29:54 +0200
commit1f136e7acffe0354c0a0639a6280c6e75a6d7739 (patch)
tree56722900096b143d4ebc6228af6bca43b0676c87
parentc69182961b00707d977957cf81d5c41cfbeab429 (diff)
job: report the status of first half of JOB_RESTART the same as JOB_STOP
-rw-r--r--src/core/job.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/job.c b/src/core/job.c
index 107961ae25..c9ca60d88d 100644
--- a/src/core/job.c
+++ b/src/core/job.c
@@ -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)