Browse Source

add license statement to checkincludes, and have it return an error code

Nick Mathewson 5 years ago
parent
commit
eb784aa9ea
1 changed files with 2 additions and 0 deletions
  1. 2 0
      scripts/maint/checkIncludes.py

+ 2 - 0
scripts/maint/checkIncludes.py

@@ -1,4 +1,5 @@
 #!/usr/bin/python3
+# Copyright 2018 The Tor Project, Inc.  See LICENSE file for licensing info.
 
 import fnmatch
 import os
@@ -68,3 +69,4 @@ if trouble:
     err(
 """To change which includes are allowed in a C file, edit the {} files in its
 enclosing directory.""".format(RULES_FNAME))
+    sys.exit(1)