aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-12-05 00:15:53 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-12-05 00:15:53 +0000
commit009e9c0f0184ab7894e6c26f72d25e64cd6fd4fd (patch)
tree8b94d56f803a6feb260fd41f04a38ee3d7f9a012 /Tools
parent64c84995a00c0650e3cc56483feeea8e25e9c2ea (diff)
downloadports-009e9c0f0184ab7894e6c26f72d25e64cd6fd4fd.tar.gz
ports-009e9c0f0184ab7894e6c26f72d25e64cd6fd4fd.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/clean-chroot8
1 files changed, 4 insertions, 4 deletions
diff --git a/Tools/portbuild/scripts/clean-chroot b/Tools/portbuild/scripts/clean-chroot
index a756ac31265b..bb9a89925e1c 100755
--- a/Tools/portbuild/scripts/clean-chroot
+++ b/Tools/portbuild/scripts/clean-chroot
@@ -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/*