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();
|
auto cgroupFS = getCgroupFS();
|
||||||
if (!cgroupFS) return 0;
|
if (!cgroupFS) return 0;
|
||||||
|
|
||||||
auto cgroups = getCgroups("/proc/self/cgroupp");
|
auto cgroups = getCgroups("/proc/self/cgroup");
|
||||||
auto cgroup = cgroups[""];
|
auto cgroup = cgroups[""];
|
||||||
if (cgroup == "") return 0;
|
if (cgroup == "") return 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue