From 4afaadf02c1bbba4379982f8d4df6c2b02056a63 Mon Sep 17 00:00:00 2001 From: Ivan Prisyazhnyy Date: Fri, 20 May 2022 16:07:14 +0200 Subject: [PATCH] lxc_can_use_pidfd: don't log error if pidfds not supported, trace Signed-off-by: Ivan Prisyazhnyy --- src/lxc/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2