]> git.ipfire.org Git - thirdparty/xtables-addons.git/commit
geoip: Use stdout for output and stderr for errors/diag 6/head
authorChristopher Layne <clayne@anodized.com>
Sun, 9 Apr 2023 17:24:31 +0000 (10:24 -0700)
committerChristopher Layne <clayne@anodized.com>
Sun, 9 Apr 2023 17:24:31 +0000 (10:24 -0700)
commitf16ed5c6bf15bb250f58d29815b87bc9b6d5da98
treeadbaf63e8d7219c454b86fbaae626b40647339c9
parenta711985a8b525f9f5db21e9bfbf6912abf2e85f4
geoip: Use stdout for output and stderr for errors/diag

* xt_geoip_build, xt_geoip_build_maxmind: These scripts are emitting
  "normal" output to stderr meaning that cronjobs basically have to sink
  all output in order to avoid noise. Unfortunately, by doing that, one
  also loses errors in the error case and said error might be transient.
  A simple 1>/dev/null should work for the normal cron case.

* xt_geoip_build_maxmind: Fix missing $quiet check in the v4 case.
geoip/xt_geoip_build
geoip/xt_geoip_build_maxmind