]> git.ipfire.org Git - thirdparty/systemd.git/commit
limits-util: suppress noisy debug message when reading tasks in top-level cgroup
authorLennart Poettering <lennart@poettering.net>
Wed, 11 Oct 2023 09:09:09 +0000 (11:09 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 11 Oct 2023 09:30:53 +0000 (11:30 +0200)
commitbde7e12255a82f9b714fb3e44c291a79f7647cc9
tree6f9722154507578933941b0ed624b54c7d76375d
parent98d8c3759598eec437d27779238164887b628294
limits-util: suppress noisy debug message when reading tasks in top-level cgroup

We have the "tasks.max" cgroup attribute only if we run in a cgroup
namespace, but not on the host. Hence let's handle ENODATA silently
simply to reduce the debug noise generated.
src/basic/limits-util.c