mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Merge pull request #7401 from Mic92/cgroup-typo
getMaxCPU: fix cgroup path
This commit is contained in:
commit
a21d9523b9
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue