mirror of
https://asciireactor.com/o4data/zfs-backup.git
synced 2024-11-22 11:25:05 +00:00
Fixed case bug.
This commit is contained in:
parent
d9f36d1e8c
commit
0150b3f9f1
@ -42,9 +42,9 @@ while read dataset dataset_options; do
|
|||||||
send_dataset="yes"
|
send_dataset="yes"
|
||||||
for option in $dataset_options; do
|
for option in $dataset_options; do
|
||||||
case $option in
|
case $option in
|
||||||
*"nosnap"* ) snapshot_dataset="" ;;
|
"nosnap"* ) snapshot_dataset="" ;;
|
||||||
*"nosend"* ) send_dataset="" ;;
|
"nosend"* ) send_dataset="" ;;
|
||||||
*"remotezfs="*) remotezfs=`echo $option|cut -d'=' -f2` ;
|
"remotezfs="*) remotezfs=`echo $option|cut -d'=' -f2` ;
|
||||||
dataset="$dataset:$remotezfs" ;;
|
dataset="$dataset:$remotezfs" ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user