systemctl: when GetProcesses() doesn't work, say for which unit

This commit is contained in:
Lennart Poettering
2018-06-06 19:46:23 +02:00
parent 81f6d448ef
commit 950d6889c3

View File

@@ -4345,7 +4345,7 @@ static void print_status_info(
show_cgroup_and_extra(SYSTEMD_CGROUP_CONTROLLER, i->control_group, prefix, c, extra, k, get_output_flags());
} else if (r < 0)
log_warning_errno(r, "Failed to dump process list, ignoring: %s", bus_error_message(&error, r));
log_warning_errno(r, "Failed to dump process list for '%s', ignoring: %s", i->id, bus_error_message(&error, r));
}
if (i->id && arg_transport == BUS_TRANSPORT_LOCAL)