diff options
author | Chris Buechler <cmb@pfsense.org> | 2015-07-25 03:08:37 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2015-07-25 03:08:37 -0500 |
commit | 51284cb907a4ed1fb26bd9d7cab2a0f67e24059e (patch) | |
tree | 047f94fd35da4cd0b2059b0fb7f7de8e4a1f5cfb | |
parent | 9196b0a78e64bb00f072a2ba3403f8cf249b1eee (diff) | |
parent | c9d58b9c9a866b35d528a88089ffcab6fe333c6e (diff) | |
download | pfsense-packages-RELENG_2_2_4.tar.gz pfsense-packages-RELENG_2_2_4.tar.bz2 pfsense-packages-RELENG_2_2_4.zip |
Merge pull request #907 from doktornotor/patch-2RELENG_2_2_4
-rw-r--r-- | config/ntopng/ntopng.xml | 3 |
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)); } } |