summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-08-01 08:40:56 -0400
committerNick Mathewson <nickm@torproject.org>2019-08-01 08:40:56 -0400
commit3221dc1b32f651f45184efab6bc3a8fa4863aea4 (patch)
tree77c104de35c960e7d80ef6010c936dc05aefafd6 /scripts
parent8d3f3e5d30fa97479bc218a2896cb538ea220514 (diff)
downloadtor-3221dc1b32f651f45184efab6bc3a8fa4863aea4.tar.gz
tor-3221dc1b32f651f45184efab6bc3a8fa4863aea4.zip
Lower check of TOR_DISABLE_PRACTRACKER
Since we sometimes call practracker directly, that's where we should check the TOR_DISABLE_PRACTRACKER envvar.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/maint/practracker/practracker.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/maint/practracker/practracker.py b/scripts/maint/practracker/practracker.py
index a60b0a8425..245d01d36d 100755
--- a/scripts/maint/practracker/practracker.py
+++ b/scripts/maint/practracker/practracker.py
@@ -246,4 +246,6 @@ variable.
sys.exit(found_new_issues)
if __name__ == '__main__':
+ if os.environ.get("TOR_DISABLE_PRACTRACKER"):
+ sys.exit(0)
main(sys.argv)