Merge branch 'fix-scanner-exit-code' into 'master'

🐛 fix --exit-code in scanner.py

See merge request fdroid/fdroidserver!1776
This commit is contained in:
Hans-Christoph Steiner
2026-02-20 03:49:59 +00:00

View File

@@ -1334,6 +1334,9 @@ def main():
elif probcount or options.verbose:
print(_("%d problems found") % probcount)
if options.exit_code and probcount > 0:
sys.exit(ExitCode.NONFREE_CODE)
if __name__ == "__main__":
main()