aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2021-10-27 10:24:13 -0400
committerDavid Goulet <dgoulet@torproject.org>2021-10-27 10:24:13 -0400
commit5530af675bb30a915ed2d45a96c49dbb9dedf44c (patch)
tree63754b3c0b12a9b4e62cfae1907cd3ab9bfcebd6 /scripts
parent5e1f64602bd11fc24c72f0617c362aa7ab79f0d8 (diff)
downloadtor-5530af675bb30a915ed2d45a96c49dbb9dedf44c.tar.gz
tor-5530af675bb30a915ed2d45a96c49dbb9dedf44c.zip
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 (limited to 'scripts')
-rwxr-xr-xscripts/maint/geoip/update_geoip.sh2
1 files changed, 1 insertions, 1 deletions
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)