mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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 <daniel.weismueller@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
efa43d82b5
commit
0df1839239
@@ -140,7 +140,6 @@ function main() {
|
||||
|
||||
# Convert GeoIP2 to lagacy.
|
||||
build_legacy || exit $?
|
||||
return 0
|
||||
|
||||
# Remove temporary files.
|
||||
cleanup || exit $?
|
||||
|
||||
Reference in New Issue
Block a user