From a6ccd04028dfd014b37f3e82ed26c6a8560d29ad Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Mon, 16 Dec 2024 09:58:40 -0700 Subject: [PATCH] zfs.sh - add * to case command --- usr/local/share/bastille/zfs.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/usr/local/share/bastille/zfs.sh b/usr/local/share/bastille/zfs.sh index 0bcedbecf..16f331e7c 100644 --- a/usr/local/share/bastille/zfs.sh +++ b/usr/local/share/bastille/zfs.sh @@ -100,7 +100,7 @@ if [ $# -lt 1 ]; then usage fi -case "$1" in +case "${1}" in set) ATTRIBUTE=$2 zfs_set_value @@ -113,11 +113,14 @@ snap|snapshot) TAG=$2 zfs_snapshot ;; -destroy_snap|destroy_snapshot) +destroy_snap|destroy_snapshot|snap_destroy) TAG=$2 zfs_destroy_snapshot ;; df|usage) zfs_disk_usage ;; +*) + usage + ;; esac