forked from lix-project/lix
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
|
@ -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