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 607cafc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/utils/geoip.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ func DownloadGeoIpDatabase() error {
"curl",
"-L",
"--fail",
"--silent",
"--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 +82,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 607cafc

Please sign in to comment.