slimm609 / checksec

Checksec
https://slimm609.github.io/checksec
Other
2.04k stars 306 forks source link

debug: fix exit code #226

Closed katexochen closed 1 year ago

katexochen commented 1 year ago

Fixing the exit code of the debug_report command, which previously always returned 1.

if [[ true ]]; then echo 1; else echo 0; fi # prints 1
if [[ false ]]; then echo 1; else echo 0; fi # prints 1