summaryrefslogtreecommitdiff
path: root/src/systemctl
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-06-06 19:46:23 +0200
committerLennart Poettering <lennart@poettering.net>2018-06-06 19:46:23 +0200
commit950d6889c31071f75a2ca96872a6299a74009a81 (patch)
treebdfc4d74f63f850c6dbc285654ba2ad17b2aed57 /src/systemctl
parent81f6d448ef3cfb6331a68eb51dd6e63845a2bb51 (diff)
downloadsystemd-950d6889c31071f75a2ca96872a6299a74009a81.tar.gz
systemctl: when GetProcesses() doesn't work, say for which unit
Diffstat (limited to 'src/systemctl')
-rw-r--r--src/systemctl/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index eb3666f856..49b00a77ea 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -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)