X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fjob.c;h=18a249592bbc193f1af7bbb5b5c6594e121b77b9;hb=853856101be1c396afcb0ec1338774d62c863337;hp=79189f04da101db1ed8188ea95601c6e1c64f8cd;hpb=57339f47f17b0268f2d05b5e8adde1b1d842fa48;p=elogind.git diff --git a/src/job.c b/src/job.c index 79189f04d..18a249592 100644 --- a/src/job.c +++ b/src/job.c @@ -498,7 +498,7 @@ int job_finish_and_invalidate(Job *j, bool success) { job_free(j); if (!success && j->type == JOB_START) - unit_status_printf(u, "Starting %s " ANSI_HIGHLIGHT_ON "failed" ANSI_HIGHLIGHT_OFF ".\n", unit_description(u)); + unit_status_printf(u, "Starting %s " ANSI_HIGHLIGHT_ON "failed" ANSI_HIGHLIGHT_OFF ", see 'systemctl status %s' for details.\n", unit_description(u), u->meta.id); /* Fail depending jobs on failure */ if (!success) { @@ -531,7 +531,7 @@ int job_finish_and_invalidate(Job *j, bool success) { } else if (t == JOB_STOP) { - SET_FOREACH(other, u->meta.dependencies[UNIT_CONFLICTS], i) + SET_FOREACH(other, u->meta.dependencies[UNIT_CONFLICTED_BY], i) if (other->meta.job && (other->meta.job->type == JOB_START || other->meta.job->type == JOB_VERIFY_ACTIVE ||