From b4c4708edacaed4fc774e6ae3b0faa4067618fb7 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Wed, 24 Jul 2013 09:20:03 -0300 Subject: close file descriptor --- config/openbgpd/openbgpd_status.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/openbgpd') 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; } -- cgit v1.2.3