Prepare old jails for deletion. Thanks to Piotr Kucharski

This commit is contained in:
erdgeist 2010-05-31 18:00:00 +00:00
parent 560c3b2234
commit 1e718d4c5f

View File

@ -781,7 +781,7 @@ delete)
/sbin/zfs destroy -r ${ezjail_jailzfs}/${ezjail_hostname}
;;
esac
rm -rf "${ezjail_rootdir}"
chflags -R noschg "${ezjail_rootdir}"; rm -rf "${ezjail_rootdir}"
fi
;;