aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-07-25 03:08:37 -0500
committerChris Buechler <cmb@pfsense.org>2015-07-25 03:08:37 -0500
commit51284cb907a4ed1fb26bd9d7cab2a0f67e24059e (patch)
tree047f94fd35da4cd0b2059b0fb7f7de8e4a1f5cfb /config
parent9196b0a78e64bb00f072a2ba3403f8cf249b1eee (diff)
parentc9d58b9c9a866b35d528a88089ffcab6fe333c6e (diff)
downloadpfsense-packages-51284cb907a4ed1fb26bd9d7cab2a0f67e24059e.tar.gz
pfsense-packages-51284cb907a4ed1fb26bd9d7cab2a0f67e24059e.tar.bz2
pfsense-packages-51284cb907a4ed1fb26bd9d7cab2a0f67e24059e.zip
Merge pull request #907 from doktornotor/patch-2RELENG_2_2_4
Diffstat (limited to 'config')
-rw-r--r--config/ntopng/ntopng.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/ntopng/ntopng.xml b/config/ntopng/ntopng.xml
index 225b3941..055f54c0 100644
--- a/config/ntopng/ntopng.xml
+++ b/config/ntopng/ntopng.xml
@@ -287,7 +287,8 @@
foreach(glob("{$source_dir}/Geo*.dat*") as $geofile) {
/* Decompress if needed. */
if (substr($geofile, -3, 3) == ".gz") {
- mwexec("/usr/bin/gzip -d " . escapeshellarg($geofile));
+ // keep -f here, otherwise the files will not get updated
+ mwexec("/usr/bin/gzip -d -f " . escapeshellarg($geofile));
}
}