Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows cli app does not produce expected return code #1433

Open
poisonborz opened this issue Jan 12, 2025 · 0 comments
Open

Windows cli app does not produce expected return code #1433

poisonborz opened this issue Jan 12, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@poisonborz
Copy link

poisonborz commented Jan 12, 2025

According to POSIX practices a cli app should return 0 on proper exit (in this case I guess when no issues/matching files were found), 1 when there was an error. Instead of this the return code by czkawka seems to be 0 in all cases. This makes shell script usage harder, as you need to be reliant on the results file generated.

@poisonborz poisonborz added the bug Something isn't working label Jan 12, 2025
@poisonborz poisonborz reopened this Jan 12, 2025
@poisonborz poisonborz changed the title Windows cli app does not produce correct return code Windows cli app does not produce expected return code Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant