From: Daniel Weismüller Date: Mon, 14 Oct 2019 14:47:53 +0000 (+0200) Subject: xt_geoip_update: Perform cleanup after successful operation X-Git-Tag: v2.23-core137~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0df1839239a2beb0f1d4dc3475c35143280abff2;p=ipfire-2.x.git xt_geoip_update: Perform cleanup after successful operation The temporary files were never being cleaned up after the script has finished compiling the database. Signed-off-by: Daniel Weismüller Signed-off-by: Arne Fitzenreiter --- diff --git a/src/scripts/xt_geoip_update b/src/scripts/xt_geoip_update index 9ea66e0067..f3ba8a52e9 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 $?