From: Zbigniew Jędrzejewski-Szmek Date: Tue, 13 Feb 2018 23:52:21 +0000 (+0100) Subject: pid1: also show gc status for jobs like we do for units X-Git-Tag: v238~97^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f698d99cd5f51f311d3c946c15147bda2c611f97;p=thirdparty%2Fsystemd.git pid1: also show gc status for jobs like we do for units --- diff --git a/src/core/job.c b/src/core/job.c index 1a3bb3bcffa..a653694d323 100644 --- a/src/core/job.c +++ b/src/core/job.c @@ -312,11 +312,13 @@ void job_dump(Job *j, FILE*f, const char *prefix) { "%s-> Job %u:\n" "%s\tAction: %s -> %s\n" "%s\tState: %s\n" - "%s\tIrreversible: %s\n", + "%s\tIrreversible: %s\n" + "%s\tMay GC: %s\n", prefix, j->id, prefix, j->unit->id, job_type_to_string(j->type), prefix, job_state_to_string(j->state), - prefix, yes_no(j->irreversible)); + prefix, yes_no(j->irreversible), + prefix, yes_no(job_may_gc(j))); } /*