mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
add license statement to checkincludes, and have it return an error code
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user