Fix indent in main(), re-add trap, remove ERR_HANDLED variable

This commit is contained in:
William Wernert
2021-05-12 13:20:59 -04:00
parent 807b525c79
commit 9ced391c11
2 changed files with 309 additions and 226 deletions

View File

@@ -334,7 +334,6 @@ run_check_net_err() {
exit_code=$?
if [[ $exit_code -ne 0 ]]; then
ERR_HANDLED=true
echo "Command failed with error $exit_code"
echo "$err_msg"
exit $exit_code