forked from mirrors/nixpkgs
zfs: print the output of the zpool command (if any) when it succeeds
This commit is contained in:
parent
c2e5fd959d
commit
1cf9bcaa3f
|
@ -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));
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue