modules/environment/login: Fix fakeProcStat path

This commit is contained in:
Zhong Jianxin 2022-04-20 15:35:02 +08:00 committed by Alexander Sosedkin
parent f246a9e82d
commit e7e7d1347f

View file

@ -31,7 +31,7 @@ writeScript "login" ''
fi
fi
if [ ! -r /proc/stat ] && [ -e ${fakeProcStat} ]; then
if [ ! -r /proc/stat ] && [ -e ${installationDir}${fakeProcStat} ]; then
BIND_PROC_STAT="-b ${installationDir}${fakeProcStat}:/proc/stat"
else
BIND_PROC_STAT=""