]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc_can_use_pidfd: don't log error if pidfds not supported, trace 4121/head
authorIvan Prisyazhnyy <john.koepi@gmail.com>
Fri, 20 May 2022 14:07:14 +0000 (16:07 +0200)
committerIvan Prisyazhnyy <john.koepi@gmail.com>
Fri, 20 May 2022 14:30:30 +0000 (16:30 +0200)
Signed-off-by: Ivan Prisyazhnyy <john.koepi@gmail.com>
src/lxc/utils.c

index 4acb10585643097121373f772d9579c3599ff4d0..a0757c23c7fea70ded8c23f6460c6fff741ecf92 100644 (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