[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 5530af675bb30a915ed2d45a96c49dbb9dedf44c
Author: David Goulet <dgoulet@xxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxx>
---
 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)

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits