Silence some possible errors from chflags -R

This commit is contained in:
Kris Kennaway 2005-10-11 03:27:36 +00:00
parent ddd72ac387
commit 85ae134a79
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=144884

View File

@ -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