diff options
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-x | ezjail-admin | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ezjail-admin b/ezjail-admin index 8fab08b..a7f8222 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -867,6 +867,7 @@ install) | |||
867 | check_for_zpool | 867 | check_for_zpool |
868 | echo "ZFS: manage basejail and newjail" | 868 | echo "ZFS: manage basejail and newjail" |
869 | [ -d "${ezjail_jailfull}" ] && /sbin/zfs destroy -R "${ezjail_jailzfs}/fulljail" && rm -rf "${ezjail_jailfull}" | 869 | [ -d "${ezjail_jailfull}" ] && /sbin/zfs destroy -R "${ezjail_jailzfs}/fulljail" && rm -rf "${ezjail_jailfull}" |
870 | /sbin/zfs create -p -o mountpoint=${ezjail_jaildir} ${ezjail_jailzfs} | ||
870 | /sbin/zfs create -p "${ezjail_jailzfs}/fulljail" || exerr "Error: Cannot create temporary Jail directory." | 871 | /sbin/zfs create -p "${ezjail_jailzfs}/fulljail" || exerr "Error: Cannot create temporary Jail directory." |
871 | else | 872 | else |
872 | [ -d "${ezjail_jailfull}" ] && chflags -R noschg "${ezjail_jailfull}" && rm -rf "${ezjail_jailfull}" | 873 | [ -d "${ezjail_jailfull}" ] && chflags -R noschg "${ezjail_jailfull}" && rm -rf "${ezjail_jailfull}" |