Skip to content

Commit

Permalink
Fix wazuh test exit code check
Browse files Browse the repository at this point in the history
  • Loading branch information
alexchristy committed Jul 20, 2024
1 parent 72e7927 commit 9ef277d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ if [ "$INTERACTIVE_MODE" = true ]; then
log_message "$INFO_LVL" "Running in interactive mode"
tail -f /dev/null
else
if ! $passed; then
if [ "$passed" -ne 0 ]; then
exit "$EXIT_ERR"
fi
fi
Expand Down

0 comments on commit 9ef277d

Please sign in to comment.