From 4859b560502da8daa3dbefd611b9574839864085 Mon Sep 17 00:00:00 2001 From: Martin Stoyanov Date: Wed, 13 Mar 2024 10:24:54 -0500 Subject: [PATCH] fix for https://github.com/BastilleBSD/bastille/issues/661 --- usr/local/share/bastille/export.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/share/bastille/export.sh b/usr/local/share/bastille/export.sh index fc180b9a..36cc4186 100644 --- a/usr/local/share/bastille/export.sh +++ b/usr/local/share/bastille/export.sh @@ -212,7 +212,7 @@ if [ -n "${TXZ_EXPORT}" -o -n "${TGZ_EXPORT}" ] && [ -n "${SAFE_EXPORT}" ]; then error_exit "Error: Simple archive modes with safe ZFS export can't be used together." fi -if checkyesno bastille_zfs_enable; then +if ! checkyesno bastille_zfs_enable; then if [ -n "${GZIP_EXPORT}" -o -n "${RAW_EXPORT}" -o -n "${SAFE_EXPORT}" -o "${OPT_ZSEND}" = "-Rv" ]; then error_exit "Options --gz, --raw, --safe, --verbose are valid for ZFS configured systems only." fi