From 0150b3f9f11b1d90c5a31e12674d9cff67328d67 Mon Sep 17 00:00:00 2001 From: Otho Date: Mon, 16 Jan 2023 19:37:24 -0500 Subject: [PATCH] Fixed case bug. --- backup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backup.sh b/backup.sh index aedbceb..7d7a711 100755 --- a/backup.sh +++ b/backup.sh @@ -42,9 +42,9 @@ while read dataset dataset_options; do send_dataset="yes" for option in $dataset_options; do case $option in - *"nosnap"* ) snapshot_dataset="" ;; - *"nosend"* ) send_dataset="" ;; - *"remotezfs="*) remotezfs=`echo $option|cut -d'=' -f2` ; + "nosnap"* ) snapshot_dataset="" ;; + "nosend"* ) send_dataset="" ;; + "remotezfs="*) remotezfs=`echo $option|cut -d'=' -f2` ; dataset="$dataset:$remotezfs" ;; esac done