1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Be silent about attempts to unmount filesystems from within the chroot

This commit is contained in:
Kris Kennaway 2004-12-05 00:15:53 +00:00
parent 64c84995a0
commit 009e9c0f01
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123153

View File

@ -19,10 +19,10 @@ if [ ${arch} = "i386" ]; then
chroot ${chroot} umount -f /compat/linux/proc
fi
umount -f ${chroot}/a/ports
umount -f ${chroot}/usr/opt/doc
umount -f ${chroot}/usr/src
umount -f ${chroot}/dev
umount -f ${chroot}/a/ports 2> /dev/null
umount -f ${chroot}/usr/opt/doc 2> /dev/null
umount -f ${chroot}/usr/src 2> /dev/null
umount -f ${chroot}/dev 2> /dev/null
if [ $noclean = 0 ]; then
rm -rf ${chroot}/tmp/*