diff options
author | erdgeist <erdgeist@erdgeist.org> | 2010-05-31 18:00:00 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2010-05-31 18:00:00 +0000 |
commit | 1e718d4c5fca7afbf7b96848f54f94d08e654a51 (patch) | |
tree | 7cd281723095e43c6372461e7ad70f3f556b14cd | |
parent | 560c3b2234518d93139f619b431c0981067edfa7 (diff) |
Prepare old jails for deletion. Thanks to Piotr Kucharski
-rwxr-xr-x | ezjail-admin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin index fa0b884..09d748f 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -781,7 +781,7 @@ delete) | |||
781 | /sbin/zfs destroy -r ${ezjail_jailzfs}/${ezjail_hostname} | 781 | /sbin/zfs destroy -r ${ezjail_jailzfs}/${ezjail_hostname} |
782 | ;; | 782 | ;; |
783 | esac | 783 | esac |
784 | rm -rf "${ezjail_rootdir}" | 784 | chflags -R noschg "${ezjail_rootdir}"; rm -rf "${ezjail_rootdir}" |
785 | fi | 785 | fi |
786 | 786 | ||
787 | ;; | 787 | ;; |