commit 5530af675bb30a915ed2d45a96c49dbb9dedf44c
parent 5e1f64602bd11fc24c72f0617c362aa7ab79f0d8
Author: David Goulet <dgoulet@torproject.org>
Date: Wed, 27 Oct 2021 10:24:13 -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@torproject.org>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)