From 1e280390a144e1bce4e7234cde647e4b1d25d663 Mon Sep 17 00:00:00 2001 From: Ermal Date: Tue, 27 Nov 2012 00:13:56 +0100 Subject: Close the resource after done --- config/openbgpd/openbgpd_status.php | 1 + 1 file changed, 1 insertion(+) (limited to 'config/openbgpd') 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 "\n"; echo "\n"; -- cgit v1.2.3