From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel =?utf-8?q?Weism=C3=BCller?= To: development@lists.ipfire.org Subject: [PATCH 1/4] xt_geoip_update: Perform cleanup after successful operation Date: Mon, 14 Oct 2019 16:47:53 +0200 Message-ID: <20191014144756.7674-1-daniel.weismueller@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6655593005982791107==" List-Id: --===============6655593005982791107== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit The temporary files were never being cleaned up after the script has finished compiling the database. Signed-off-by: Daniel Weismüller --- src/scripts/xt_geoip_update | 1 - 1 file changed, 1 deletion(-) diff --git a/src/scripts/xt_geoip_update b/src/scripts/xt_geoip_update index 9ea66e006..f3ba8a52e 100644 --- a/src/scripts/xt_geoip_update +++ b/src/scripts/xt_geoip_update @@ -140,7 +140,6 @@ function main() { # Convert GeoIP2 to lagacy. build_legacy || exit $? - return 0 # Remove temporary files. cleanup || exit $? -- 2.12.2 --===============6655593005982791107==--