Merge pull request #4121 from sitano/ivan_fix_pidfds_loglvl

lxc_can_use_pidfd: don't log error if pidfds not supported, trace
This commit is contained in:
Christian Brauner 2022-05-21 09:23:57 +02:00 committed by GitHub
commit d5e2bc9750
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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