Skip to content

Commit

Permalink
fix(api): silencing command verbose output
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaile committed Sep 17, 2024
1 parent 82406e1 commit dde3af4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/utils/geoip.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ func DownloadGeoIpDatabase() error {
"curl",
"-L",
"--fail",
"--silent",
"--show-error",
"--retry", "5",
"--retry-max-time", "120",
"https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country&license_key="+configuration.Config.MaxmindLicense+"&suffix=tar.gz",
Expand All @@ -81,7 +83,7 @@ func DownloadGeoIpDatabase() error {
}
cmd = exec.Command(
"tar",
"xvzf",
"xzf",
configuration.Config.GeoIPDbDir+"/GeoLite2-Country.tar.gz",
"--strip-components=1",
)
Expand Down

0 comments on commit dde3af4

Please sign in to comment.