mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Fix backwards logic
This commit is contained in:
@@ -341,7 +341,7 @@ run_check_net_err() {
|
|||||||
|
|
||||||
if [[ $exit_code -ne 0 ]]; then
|
if [[ $exit_code -ne 0 ]]; then
|
||||||
ERR_HANDLED=true
|
ERR_HANDLED=true
|
||||||
[[ -z $no_retry ]] && echo "Command failed with error $exit_code"
|
[[ -z $no_retry ]] || echo "Command failed with error $exit_code"
|
||||||
echo "$err_msg"
|
echo "$err_msg"
|
||||||
exit $exit_code
|
exit $exit_code
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user