Only echo error code if not using retry

This commit is contained in:
William Wernert
2021-05-17 16:04:13 -04:00
parent 3f238f7a4a
commit 4e1fba5b38

View File

@@ -341,7 +341,7 @@ run_check_net_err() {
if [[ $exit_code -ne 0 ]]; then
ERR_HANDLED=true
echo "Command failed with error $exit_code"
[[ -z $no_retry ]] && echo "Command failed with error $exit_code"
echo "$err_msg"
exit $exit_code
fi