diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2004-12-25 04:43:54 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2004-12-25 04:43:54 +0000 |
commit | 1ba03d69aa6b95f93b6760443cead620313792a4 (patch) | |
tree | 082d272540f376b638d09d1e649ba0505e712951 /usr | |
parent | 04ad7c7c3fb4aa0eb9e85cc504941672cefcf1a1 (diff) | |
download | pfsense-1ba03d69aa6b95f93b6760443cead620313792a4.zip pfsense-1ba03d69aa6b95f93b6760443cead620313792a4.tar.gz |
Teach verify_gzip_file to use gzip instead of gunzip.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/guiconfig.inc | 3 |
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 |