mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-09-07 09:45:10 +03:00
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:
@@ -243,5 +243,5 @@ int bpf_devices_supported(void) {
|
|||||||
return supported = 0;
|
return supported = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return supported;
|
return supported = 1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user