Merge pull request #7401 from Mic92/cgroup-typo

getMaxCPU: fix cgroup path
This commit is contained in:
Eelco Dolstra
2022-12-05 17:53:05 +01:00
committed by GitHub
+1 -1
View File
@@ -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;