Fixed case bug.

This commit is contained in:
Otho 2023-01-16 19:37:24 -05:00
parent d9f36d1e8c
commit 0150b3f9f1
Signed by: Otho
GPG Key ID: 16C720CD3BBE21D9

View File

@ -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