bug 151852 addendum: silence mount of /proc under chroot if root user not

granted CAP_MOUNT capability
This commit is contained in:
jvdias 2005-07-13 23:30:53 +00:00
parent 95280b870d
commit 1ccce37de0

View File

@ -46,7 +46,7 @@ start() {
mkdir -p ${ROOTDIR}/proc
fi
if ! egrep -q "${ROOTDIR}/proc proc" /etc/mtab; then
mount -tproc none ${ROOTDIR}/proc
mount -tproc none ${ROOTDIR}/proc >/dev/null 2>&1
fi
fi
no_write_master_zones=0