aboutsummaryrefslogtreecommitdiffstats
path: root/config/openbgpd/openbgpd_status.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-07-24 09:20:03 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-07-24 09:20:03 -0300
commitb4c4708edacaed4fc774e6ae3b0faa4067618fb7 (patch)
tree54b0650ec42b82ad3e094904b20adc485fff289e /config/openbgpd/openbgpd_status.php
parent8c21b192561c102ff99ef395480580f3ff06995c (diff)
downloadpfsense-packages-b4c4708edacaed4fc774e6ae3b0faa4067618fb7.tar.gz
pfsense-packages-b4c4708edacaed4fc774e6ae3b0faa4067618fb7.tar.bz2
pfsense-packages-b4c4708edacaed4fc774e6ae3b0faa4067618fb7.zip
close file descriptor
Diffstat (limited to 'config/openbgpd/openbgpd_status.php')
-rw-r--r--config/openbgpd/openbgpd_status.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/openbgpd/openbgpd_status.php b/config/openbgpd/openbgpd_status.php
index 7ce6e19a..6c5628e1 100644
--- a/config/openbgpd/openbgpd_status.php
+++ b/config/openbgpd/openbgpd_status.php
@@ -84,6 +84,8 @@ function countCmdT($command) {
while (fgets($fd) !== FALSE)
$c++;
+ pclose($fd);
+
return $c;
}