zfs: print the output of the zpool command (if any) when it succeeds

This commit is contained in:
Ricardo M. Correia 2016-08-18 17:10:52 +02:00
parent c2e5fd959d
commit 1cf9bcaa3f

View File

@ -254,12 +254,11 @@ in
echo -n .
trial=$(($trial + 1))
if [[ $trial -eq 60 ]]; then
echo
echo "$msg"
break
fi
done
echo
if [[ -n "$msg" ]]; then echo "$msg"; fi
'') rootPools));
};