Message ID | 20191014144756.7674-2-daniel.weismueller@ipfire.org |
---|---|
State | Accepted |
Commit | 3cd8d550109b03d6187f73463a118f74664242a3 |
Headers | show |
Series | [1/4] xt_geoip_update: Perform cleanup after successful operation | expand |
diff --git a/src/scripts/xt_geoip_update b/src/scripts/xt_geoip_update index f3ba8a52e..f633229fb 100644 --- a/src/scripts/xt_geoip_update +++ b/src/scripts/xt_geoip_update @@ -19,7 +19,7 @@ # # ############################################################################### -TMP_PATH=$(mktemp -d) +TMP_PATH=$(mktemp -dp /var/tmp) TMP_FILE=$(mktemp -p $TMP_PATH) SCRIPT_PATH=/usr/local/bin
Since we have some systems that are restricted to only 2GB of space on /, we need to move this to where we have enough space. Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org> --- src/scripts/xt_geoip_update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)