summaryrefslogtreecommitdiff
path: root/ezjail-admin
diff options
context:
space:
mode:
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-xezjail-admin5
1 files changed, 4 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin
index a5f719a..3099826 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -838,8 +838,11 @@ delete)
838 zfs) 838 zfs)
839 /sbin/zfs destroy -r ${ezjail_jailzfs}/${ezjail_hostname} 839 /sbin/zfs destroy -r ${ezjail_jailzfs}/${ezjail_hostname}
840 ;; 840 ;;
841 *)
842 chflags -R noschg "${ezjail_rootdir}"
843 ;;
841 esac 844 esac
842 chflags -R noschg "${ezjail_rootdir}"; rm -rf "${ezjail_rootdir}" 845 rm -rf "${ezjail_rootdir}"
843 fi 846 fi
844 847
845 ;; 848 ;;