diff --git a/Tools/portbuild/scripts/clean-chroot b/Tools/portbuild/scripts/clean-chroot index eba3889f8db8..5bd3bbe38c9c 100755 --- a/Tools/portbuild/scripts/clean-chroot +++ b/Tools/portbuild/scripts/clean-chroot @@ -65,7 +65,7 @@ if [ $noclean = 0 ]; then rm -rf ${chroot}/tmp/* for dir in ${cleandirs}; do if ! rm -rf ${chroot}${dir} >/dev/null 2>&1; then - chflags -R noschg ${chroot}${dir} + chflags -R noschg ${chroot}${dir} >/dev/null 2>&1 rm -rf ${chroot}${dir} >/dev/null 2>&1 fi done