diff --git a/conf/type/__jail/gencode-remote b/conf/type/__jail/gencode-remote index b52eb572..7ebe26eb 100755 --- a/conf/type/__jail/gencode-remote +++ b/conf/type/__jail/gencode-remote @@ -140,9 +140,9 @@ deleteJail() { fi EOF # Remove the jail's rw mountpoints - echo "rm -rf \"${jailbase}/rw/${name}\"" + echo "rm -rf \"${jaildir}/rw/${name}\"" # Remove the jail directory - echo "rm -rf \"${jailbase}/${name}\"" + echo "rm -rf \"${jaildir}/${name}\"" # Remove the jail's fstab echo "rm -f \"/etc/fstab.${name}\"" # Remove jail_$name_* lines from rc.conf @@ -212,12 +212,12 @@ EOF # Create the ro+rw mountpoint entries in fstab cat </etc/fstab.${name} <