diff --git a/ezjail-admin b/ezjail-admin index 557ae9e..5840be8 100755 --- a/ezjail-admin +++ b/ezjail-admin @@ -1242,7 +1242,7 @@ config) # we might end up at an existing directory [ -e "${ezjail_rootdir}" ] && exerr "Error: An object already exists at ${ezjail_rootdir}, cant rename." - mv "${ezjail_old_rootdir}" "${ezjail_rootdir}" + [ "${ezjail_imagetype}" = "zfs" ] || mv "${ezjail_old_rootdir}" "${ezjail_rootdir}" fi # This scenario really will only lead to real troubles in the 'fulljail'