Only fetch logs on sanity failure

This commit is contained in:
Michael Vines 2019-09-20 14:47:00 -07:00
parent 22e807c212
commit bb9f07183b
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 3 additions and 1 deletions

View File

@ -72,6 +72,8 @@ for zone in "$@"; do
${NO_INSTALL_CHECK:+-o noInstallCheck} \
$zone || ok=false
net/net.sh logs
if ! $ok; then
net/net.sh logs
fi
$ok
done