Fix message saying all is good if it isn't

This commit is contained in:
Ghostkeeper 2019-09-17 09:37:18 +02:00
parent e4edd5732f
commit e4c3ab33f8
No known key found for this signature in database
GPG Key ID: 86BEF881AE2CF276

View File

@ -71,6 +71,8 @@ def main():
if result.returncode != 0:
print("\nModule {mod} failed checking. :(".format(**locals()))
success_code = 1
if success_code:
print("\n\nSome modules failed checking!")
else:
print("\n\nDone checking. All is good.")
return success_code