1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-28 20:25:25 +03:00

pid1: also show gc status for jobs like we do for units

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-02-14 00:52:21 +01:00
parent 2ab3050f6e
commit f698d99cd5

View File

@ -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)));
}
/*