aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-11-27 00:13:56 +0100
committerErmal <eri@pfsense.org>2012-11-27 00:13:56 +0100
commit1e280390a144e1bce4e7234cde647e4b1d25d663 (patch)
treeb3bddfa0c6695dfe9f226c5c29e331600bf1b7ad
parent2b561e0abff20b33dd1e94c2809e4cb1caae488e (diff)
downloadpfsense-packages-1e280390a144e1bce4e7234cde647e4b1d25d663.tar.gz
pfsense-packages-1e280390a144e1bce4e7234cde647e4b1d25d663.tar.bz2
pfsense-packages-1e280390a144e1bce4e7234cde647e4b1d25d663.zip
Close the resource after done
-rw-r--r--config/openbgpd/openbgpd_status.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/openbgpd/openbgpd_status.php b/config/openbgpd/openbgpd_status.php
index 4547018a..3db2781a 100644
--- a/config/openbgpd/openbgpd_status.php
+++ b/config/openbgpd/openbgpd_status.php
@@ -63,6 +63,7 @@ function doCmdT($title, $command) {
while (($line = fgets($fd)) !== FALSE) {
echo htmlspecialchars($line, ENT_NOQUOTES);
}
+ pclose($fd);
}
echo "</pre></tr>\n";
echo "</table>\n";