mirror of
https://github.com/termux/proot.git
synced 2024-11-11 13:49:26 +00:00
8 lines
281 B
Bash
8 lines
281 B
Bash
if [ ! -x ${ROOTFS}/bin/pwd ] || [ -z `which grep` ]; then
|
|
exit 125;
|
|
fi
|
|
|
|
${PROOT} -m /:/hostfs -w /hostfs/etc -r ${ROOTFS} pwd | grep '^/hostfs/etc$'
|
|
${PROOT} -m /:/hostfs -w /hostfs -r ${ROOTFS} pwd | grep '^/hostfs$'
|
|
${PROOT} -m /:/hostfs -w / -r ${ROOTFS} pwd | grep '^/$'
|