summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-11-17 19:47:01 +0000
committerErmal <eri@pfsense.org>2010-11-17 19:47:01 +0000
commit4c3d9312e8860c146db94d051290e1312de51050 (patch)
treead3d7a36131503e5b73afacb0f9b5724d53f37b8 /usr/local
parent1ae5c631e8ec83ed5acdd60419dc436c893fe6ef (diff)
downloadpfsense-4c3d9312e8860c146db94d051290e1312de51050.zip
pfsense-4c3d9312e8860c146db94d051290e1312de51050.tar.gz
Ticket #1017. Put a @ before each fwrite to silence errors. Also setup the log file in the beginning rather than on each individual function.
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/pkg_mgr_install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index 289e58a..7139a0d 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -214,7 +214,7 @@ rmdir_recursive("/var/tmp/instmp*");
// close log
if($fd_log)
- fclose($fd_log);
+ fclose($fd_log);
/* read only fs */
conf_mount_ro();
OpenPOWER on IntegriCloud