Added commenting for dataset file.

This commit is contained in:
Otho 2022-11-23 23:30:42 -05:00
parent bd6e14fe48
commit dec31cec5a
Signed by: Otho
GPG Key ID: 16C720CD3BBE21D9

View File

@ -46,6 +46,9 @@ create_datasets() {
# should compare_datasets and only create missing or possibly error. # should compare_datasets and only create missing or possibly error.
for dataset in `cat ${datasets_file}`; do for dataset in `cat ${datasets_file}`; do
case $dataset in
\#*) continue;;
esac
if [ $BG_TEST_MODE = "TRUE" ]; then if [ $BG_TEST_MODE = "TRUE" ]; then
echo zfs create -p ${BG_ROOT}/$dataset echo zfs create -p ${BG_ROOT}/$dataset
else else