From: Nick Mathewson Date: Thu, 21 Jun 2018 18:29:00 +0000 (-0400) Subject: add license statement to checkincludes, and have it return an error code X-Git-Tag: tor-0.3.5.1-alpha~370 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eb784aa9eaced1adb436d752ccdbeb2ff19c9e23;p=thirdparty%2Ftor.git add license statement to checkincludes, and have it return an error code --- diff --git a/scripts/maint/checkIncludes.py b/scripts/maint/checkIncludes.py index b96b7f4b34..3c611675e4 100755 --- a/scripts/maint/checkIncludes.py +++ b/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)