From f698d99cd5f51f311d3c946c15147bda2c611f97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 14 Feb 2018 00:52:21 +0100 Subject: [PATCH] pid1: also show gc status for jobs like we do for units --- src/core/job.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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))); } /*