[tor-commits] [tor/main] scripts: Quiet the IPFire location GeoIP command

dgoulet at torproject.org dgoulet at torproject.org
Wed Oct 27 14:25:51 UTC 2021


commit 5530af675bb30a915ed2d45a96c49dbb9dedf44c
Author: David Goulet <dgoulet at torproject.org>
Date:   Wed Oct 27 10:24:13 2021 -0400

    scripts: Quiet the IPFire location GeoIP command
    
    We do this to avoid useless outputs but also, in the CI environement,
    the Python logging package stacktraces with a problem on a socket.
    
    The command still works but the logging fails. With the quiet switch, we
    don't get such stacktrace.
    
    Signed-off-by: David Goulet <dgoulet at torproject.org>
---
 scripts/maint/geoip/update_geoip.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/maint/geoip/update_geoip.sh b/scripts/maint/geoip/update_geoip.sh
index 9289e7a969..743683ab62 100755
--- a/scripts/maint/geoip/update_geoip.sh
+++ b/scripts/maint/geoip/update_geoip.sh
@@ -5,7 +5,7 @@ set -e
 DIR=$(cd "$(dirname "$0")" && pwd)
 TMP=$(mktemp -d)
 
-location update
+location --quiet update
 location dump "$TMP/geoip-dump.txt"
 
 OLDDIR=$(pwd)



More information about the tor-commits mailing list