From: Ivan Prisyazhnyy Date: Fri, 20 May 2022 14:07:14 +0000 (+0200) Subject: lxc_can_use_pidfd: don't log error if pidfds not supported, trace X-Git-Tag: lxc-5.0.0~16^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4121%2Fhead;p=thirdparty%2Flxc.git lxc_can_use_pidfd: don't log error if pidfds not supported, trace Signed-off-by: Ivan Prisyazhnyy --- diff --git a/src/lxc/utils.c b/src/lxc/utils.c index 4acb10585..a0757c23c 100644 --- a/src/lxc/utils.c +++ b/src/lxc/utils.c @@ -1792,7 +1792,7 @@ bool lxc_can_use_pidfd(int pidfd) int ret; if (pidfd < 0) - return log_error(false, "Kernel does not support pidfds"); + return log_trace(false, "Kernel does not support pidfds"); /* * We don't care whether or not children were in a waitable state. We