aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/distrib/check_include_guards.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/distrib/check_include_guards.py')
-rwxr-xr-xtools/distrib/check_include_guards.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/distrib/check_include_guards.py b/tools/distrib/check_include_guards.py
index 56b2924a1a..28312813f6 100755
--- a/tools/distrib/check_include_guards.py
+++ b/tools/distrib/check_include_guards.py
@@ -200,6 +200,6 @@ validator = GuardValidator()
for filename in filename_list:
if filename in KNOWN_BAD: continue
- ok = validator.check(filename, args.fix)
+ ok = ok and validator.check(filename, args.fix)
sys.exit(0 if ok else 1)