From dec31cec5aa7bcb60cefc826b02aadc923bcfdf4 Mon Sep 17 00:00:00 2001 From: Otho Date: Wed, 23 Nov 2022 23:30:42 -0500 Subject: [PATCH] Added commenting for dataset file. --- backup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backup.sh b/backup.sh index 0b52ef4..cddd1b8 100755 --- a/backup.sh +++ b/backup.sh @@ -46,6 +46,9 @@ create_datasets() { # should compare_datasets and only create missing or possibly error. for dataset in `cat ${datasets_file}`; do + case $dataset in + \#*) continue;; + esac if [ $BG_TEST_MODE = "TRUE" ]; then echo zfs create -p ${BG_ROOT}/$dataset else