mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-25 02:12:00 -04:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user