diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-07-24 09:20:03 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-07-24 09:20:03 -0300 |
commit | b4c4708edacaed4fc774e6ae3b0faa4067618fb7 (patch) | |
tree | 54b0650ec42b82ad3e094904b20adc485fff289e /config/openbgpd | |
parent | 8c21b192561c102ff99ef395480580f3ff06995c (diff) | |
download | pfsense-packages-b4c4708edacaed4fc774e6ae3b0faa4067618fb7.tar.gz pfsense-packages-b4c4708edacaed4fc774e6ae3b0faa4067618fb7.tar.bz2 pfsense-packages-b4c4708edacaed4fc774e6ae3b0faa4067618fb7.zip |
close file descriptor
Diffstat (limited to 'config/openbgpd')
-rw-r--r-- | config/openbgpd/openbgpd_status.php | 2 |
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; } |