aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}