mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
Merge pull request #7401 from Mic92/cgroup-typo
getMaxCPU: fix cgroup path
This commit is contained in:
commit
a21d9523b9
@ -730,7 +730,7 @@ unsigned int getMaxCPU()
|
||||
auto cgroupFS = getCgroupFS();
|
||||
if (!cgroupFS) return 0;
|
||||
|
||||
auto cgroups = getCgroups("/proc/self/cgroupp");
|
||||
auto cgroups = getCgroups("/proc/self/cgroup");
|
||||
auto cgroup = cgroups[""];
|
||||
if (cgroup == "") return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user