chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c691829
)
job: report the status of first half of JOB_RESTART the same as JOB_STOP
author
Michal Schmidt
<mschmidt@redhat.com>
Sun, 13 May 2012 21:28:46 +0000
(23:28 +0200)
committer
Michal Schmidt
<mschmidt@redhat.com>
Mon, 14 May 2012 12:29:54 +0000
(14:29 +0200)
src/core/job.c
patch
|
blob
|
history
diff --git
a/src/core/job.c
b/src/core/job.c
index 107961ae25457376fb78a98bd812223d6021f711..c9ca60d88dc965c2bcfc3b2d3c739bebac24b4b2 100644
(file)
--- 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)