]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
xt_geoip_update: Perform cleanup after successful operation
authorDaniel Weismüller <daniel.weismueller@ipfire.org>
Mon, 14 Oct 2019 14:47:53 +0000 (16:47 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 14 Oct 2019 17:45:20 +0000 (17:45 +0000)
The temporary files were never being cleaned up after the script
has finished compiling the database.

Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/scripts/xt_geoip_update

index 9ea66e00678a3bb89a3d92c376ca67c6ea511099..f3ba8a52e90ec6475a3eb6c69203e6b6183bb82d 100644 (file)
@@ -140,7 +140,6 @@ function main() {
 
        # Convert GeoIP2 to lagacy.
        build_legacy || exit $?
-       return 0
 
        # Remove temporary files.
        cleanup || exit $?