bpf-devices: fix cgroup v2 devices detection
If cgroup v2 bpf devices is supported we need to return 1, not -1. Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
8724defeae
commit
0b82cd2502
|
@ -243,5 +243,5 @@ int bpf_devices_supported(void) {
|
|||
return supported = 0;
|
||||
}
|
||||
|
||||
return supported;
|
||||
return supported = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue