public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH 1/4] xt_geoip_update: Perform cleanup after successful operation
@ 2019-10-14 14:47 Daniel Weismüller
  2019-10-14 14:47 ` [PATCH 2/4] xt_geoip_update: Use /var/tmp for temporary data Daniel Weismüller
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Daniel Weismüller @ 2019-10-14 14:47 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 585 bytes --]

The temporary files were never being cleaned up after the script
has finished compiling the database.

Signed-off-by: Daniel Weismüller <daniel.weismueller(a)ipfire.org>
---
 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-10-14 14:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-14 14:47 [PATCH 1/4] xt_geoip_update: Perform cleanup after successful operation Daniel Weismüller
2019-10-14 14:47 ` [PATCH 2/4] xt_geoip_update: Use /var/tmp for temporary data Daniel Weismüller
2019-10-14 14:47 ` [PATCH 3/4] xt_geoip_update: Do not create temporary directories again Daniel Weismüller
2019-10-14 14:47 ` [PATCH 4/4] xt_geoip_update: Always call the cleanup function when some step fails Daniel Weismüller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox