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.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/distrib/check_include_guards.py b/tools/distrib/check_include_guards.py
index 9c23a70e00..ef770b30b4 100755
--- a/tools/distrib/check_include_guards.py
+++ b/tools/distrib/check_include_guards.py
@@ -98,6 +98,7 @@ class GuardValidator(object):
match = self.ifndef_re.search(fcontents)
if not match:
print 'something drastically wrong with: %s' % fpath
+ return False # failed
if match.lastindex is None:
# No ifndef. Request manual addition with hints
self.fail(fpath, match.re, match.string, '', '', False)