summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/bpf-util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/bpf-util.c b/src/core/bpf-util.c
index 9130aa373f..84170da0a8 100644
--- a/src/core/bpf-util.c
+++ b/src/core/bpf-util.c
@@ -26,7 +26,8 @@ bool cgroup_bpf_supported(void) {
r = dlopen_bpf();
if (r < 0) {
- log_info_errno(r, "Failed to open libbpf, cgroup BPF features disabled: %m");
+ log_full_errno(in_initrd() ? LOG_DEBUG : LOG_INFO,
+ r, "Failed to open libbpf, cgroup BPF features disabled: %m");
return (supported = false);
}