diff --git a/main.py b/main.py index 72c7744..185d797 100644 --- a/main.py +++ b/main.py @@ -83,7 +83,7 @@ def main(): for file in sorted(files): success &= scan_file(file, comment, regexp) print(f"Scanned {scanned} files.") - return int(success) + return int(not success) if __name__ == "__main__":