getMaxCPU: fix cgroup path
Given this typo I am not sure if it has been tested.
This commit is contained in:
parent
b4b13382f4
commit
cccd57c022
1 changed files with 1 additions and 1 deletions
|
@ -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