Finally actually really finally fix this, maybe

This commit is contained in:
Zach Dykstra 2019-12-10 19:38:25 -06:00
parent bf0be1a328
commit 1c993bf20c
1 changed files with 2 additions and 0 deletions

View File

@ -31,7 +31,9 @@ fi
# Find all pools by name that are listed as ONLINE, then import them
response="$( find_online_pools )"
ret=$?
if [ $ret -gt 0 ]; then
import_success=0
IFS=',' read -a zpools <<<"${response}"
for pool in "${zpools[@]}"; do
import_pool ${pool}