]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
add license statement to checkincludes, and have it return an error code
authorNick Mathewson <nickm@torproject.org>
Thu, 21 Jun 2018 18:29:00 +0000 (14:29 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 21 Jun 2018 18:29:00 +0000 (14:29 -0400)
scripts/maint/checkIncludes.py

index b96b7f4b34b8e3b6b33faec877d29f9d81159e89..3c611675e406f7c7bbc6cac3a537c51df6f06ffe 100755 (executable)
@@ -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)