Skip to content

Commit

Permalink
debug: fix exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
katexochen committed Nov 13, 2023
1 parent 7694735 commit 851ebff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion checksec
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ debug_report() {
fi
done

if [[ ${failed} ]]; then
if ${failed}; then
exit 1
fi
}
Expand Down
2 changes: 1 addition & 1 deletion src/functions/debug.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ debug_report() {
fi
done

if [[ ${failed} ]]; then
if ${failed}; then
exit 1
fi
}

0 comments on commit 851ebff

Please sign in to comment.