Closed thorhs closed 2 years ago
Sorry for this being two changes in one commit, don't have time to split them up.
you are terrific!!!
Thanks for your PR! I've adjusted it a bit to fix a race condition, return correct exit codes as you specified, and to put .zip scanning behind a flag as it can be potentially significantly slower.
Added .ear and .zip to types of file to test.
Also added an exit code if a match is found. Exit codes:
This enables integration with Ansible, e.g: