chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dbus: shut down bus connection cleanly and fully when a direct client disconnects
[elogind.git]
/
src
/
job.c
diff --git
a/src/job.c
b/src/job.c
index a090ec9b113cc2e5c3c111c55d6b97628e98d0db..0a9ce153f697a9521b5b53efd32d51ee19d9b1f8 100644
(file)
--- a/
src/job.c
+++ b/
src/job.c
@@
-483,6
+483,9
@@
int job_finish_and_invalidate(Job *j, bool success) {
t = j->type;
job_free(j);
+ if (!success)
+ unit_status_printf(u, "Starting %s " ANSI_HIGHLIGHT_ON "failed" ANSI_HIGHLIGHT_OFF ".\n", unit_description(u));
+
/* Fail depending jobs on failure */
if (!success) {