Forráskód Böngészése

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

Nick Mathewson 5 éve
szülő
commit
eb784aa9ea
1 módosított fájl, 2 hozzáadás és 0 törlés
  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)