From ca24953e6c69293e3b10a8c832456c776a396720 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Wed, 16 Jul 2025 16:36:45 -0600 Subject: [PATCH] zfs: Remove -v from create --- usr/local/share/bastille/zfs.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/usr/local/share/bastille/zfs.sh b/usr/local/share/bastille/zfs.sh index 7ff31b25..15ac1b46 100644 --- a/usr/local/share/bastille/zfs.sh +++ b/usr/local/share/bastille/zfs.sh @@ -119,7 +119,7 @@ zfs_unjail_dataset() { zfs_snapshot() { # shellcheck disable=SC2140 - zfs snapshot ${OPT_CREATE} "${bastille_zfs_zpool}/${bastille_zfs_prefix}/jails/${_jail}"@"${TAG}" + zfs snapshot -r "${bastille_zfs_zpool}/${bastille_zfs_prefix}/jails/${_jail}"@"${TAG}" _return=$? } @@ -188,13 +188,6 @@ snapshot_checks() { snapshot_create() { snapshot_checks - - if [ "${OPT_VERBOSE}" -eq 1 ]; then - OPT_CREATE="-v -r" - else - OPT_CREATE="-r" - fi - zfs_snapshot # Check for exit status and notify only for user reference.