diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-03 19:44:02 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-04 09:07:31 +0200 |
commit | 1c80e425124457146ab03279e44ba5155d3e1716 (patch) | |
tree | 858d2fc4799c7782d50f0dcc09e2f488c80e1720 /src/test/test-watchdog.c | |
parent | 989189eabf420690ca64d4713cea62e79c945d86 (diff) |
cgroup-util: make cg_pid_get_path() return -ENODATA when controller can't be found
If the controller managed by systemd cannot found in /proc/$PID/cgroup,
return ENODATA, the usual error for cases where the data being looked
for does not exist, even if the process does.
Diffstat (limited to 'src/test/test-watchdog.c')
0 files changed, 0 insertions, 0 deletions