summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-12-25 04:43:54 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-12-25 04:43:54 +0000
commit1ba03d69aa6b95f93b6760443cead620313792a4 (patch)
tree082d272540f376b638d09d1e649ba0505e712951 /usr
parent04ad7c7c3fb4aa0eb9e85cc504941672cefcf1a1 (diff)
downloadpfsense-1ba03d69aa6b95f93b6760443cead620313792a4.zip
pfsense-1ba03d69aa6b95f93b6760443cead620313792a4.tar.gz
Teach verify_gzip_file to use gzip instead of gunzip.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/guiconfig.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc
index 36971c0..c9fc8f2 100755
--- a/usr/local/www/guiconfig.inc
+++ b/usr/local/www/guiconfig.inc
@@ -158,7 +158,8 @@ function exec_rc_script_async($scriptname) {
function verify_gzip_file($fname) {
- $returnvar = mwexec("/usr/bin/gunzip -S \"\" -t " . escapeshellarg($fname));
+ //$returnvar = mwexec("/usr/bin/gunzip -S \"\" -t " . escapeshellarg($fname));
+ $returnvar = mwexec("/usr/bin/gzip -t " . escapeshellarg($fname));
if ($returnvar != 0)
return 0;
else
OpenPOWER on IntegriCloud