diff --git a/release/Makefile b/release/Makefile index 7ecb756a8793..706e3389a579 100644 --- a/release/Makefile +++ b/release/Makefile @@ -354,7 +354,7 @@ release rerelease: # NB: clear any vestigial devfs mount, just in case -umount ${CHROOTDIR}/dev > /dev/null 2>&1 -rm -rf ${CHROOTDIR} 2>/dev/null - -chflags -R noschg ${CHROOTDIR}/. + -chflags -R 0 ${CHROOTDIR}/. -rm -rf ${CHROOTDIR} .endif mkdir -p ${CHROOTDIR}