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>
This commit is contained in:
David Goulet 2021-10-27 10:24:13 -04:00
parent 5e1f64602b
commit 5530af675b

View File

@ -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)