[tor-commits] [torflow/master] Fixes #13645, removal of bwauthority.cfg causes bwauth to fail

aagbsn at torproject.org aagbsn at torproject.org
Tue Nov 4 13:13:12 UTC 2014


commit 6e9fed9285738a2f8de1d326529e0b016ad6cd8c
Author: aagbsn <aagbsn at extc.org>
Date:   Tue Nov 4 13:12:23 2014 +0000

    Fixes #13645, removal of bwauthority.cfg causes bwauth to fail
    
    Thanks to micah for catching and patching this bug :-)
---
 NetworkScanners/BwAuthority/run_scan.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/NetworkScanners/BwAuthority/run_scan.sh b/NetworkScanners/BwAuthority/run_scan.sh
index cb32da9..c6b552f 100755
--- a/NetworkScanners/BwAuthority/run_scan.sh
+++ b/NetworkScanners/BwAuthority/run_scan.sh
@@ -33,7 +33,7 @@ sleep 5
 
 # FIXME: We resume in a ghetto way by saving the bws-*done* files.
 # A more accurate resume could be implemented in bwauthority.py
-find data/scanner.* -name .svn -prune -o -type f -a ! -name '*-done-*' -exec rm {} +
+find data/scanner.* -name .svn -prune -o -type f -a ! -name '*-done-*' -a ! -name bwauthority.cfg -exec rm {} +
 
 rm -f ./data/tor/tor.log
 



More information about the tor-commits mailing list