mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Safer version of the chflags command.
This commit is contained in:
parent
de8a6c067a
commit
37966461c0
1 changed files with 1 additions and 1 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue