mirror of
https://github.com/proot-me/proot.git
synced 2025-08-28 16:43:49 +02:00
9 lines
199 B
Bash
9 lines
199 B
Bash
if [ -z `which mcookie` ] || [ -z `which ln` ] || [ -z `which true` ] || [ -z `which rm` ]; then
|
|
exit 125;
|
|
fi
|
|
|
|
TMP=$(mcookie)
|
|
ln -s /proc/self/mounts ${TMP}
|
|
${PROOT} -b ${TMP} true
|
|
rm ${TMP}
|
|
|