X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fjob.c;h=f3c76d66b59dd85f1acd7948ca290c8ef7c9d0d3;hp=781f83e175cf05900b405f59502b699bdb42cd51;hb=691206668a0bf78895d4a5fe3772f4a10c790a90;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8;ds=sidebyside diff --git a/src/core/job.c b/src/core/job.c index 781f83e17..f3c76d66b 100644 --- a/src/core/job.c +++ b/src/core/job.c @@ -417,7 +417,8 @@ static void job_print_status_message(Unit *u, JobType t, JobResult result) { switch (result) { case JOB_DONE: - unit_status_printf(u, ANSI_HIGHLIGHT_GREEN_ON " OK " ANSI_HIGHLIGHT_OFF, "Started %s", unit_description(u)); + if (u->condition_result) + unit_status_printf(u, ANSI_HIGHLIGHT_GREEN_ON " OK " ANSI_HIGHLIGHT_OFF, "Started %s", unit_description(u)); break; case JOB_FAILED: