diff --git a/mail-toaster.sh b/mail-toaster.sh index f380fd7a..7f46af13 100755 --- a/mail-toaster.sh +++ b/mail-toaster.sh @@ -353,12 +353,17 @@ base_snapshot_exists() jail_conf_header() { + local _path="$ZFS_JAIL_MNT/\$name" + if [ "$1" = "base" ]; then + _path="$ZFS_JAIL_MNT/$(uname -r | cut -f1,2 -d'-')" + fi + cat <