diff --git a/pear/PEAR/Command.php b/pear/PEAR/Command.php index 518bd12eba3..49bb72b24c0 100644 --- a/pear/PEAR/Command.php +++ b/pear/PEAR/Command.php @@ -280,6 +280,7 @@ class PEAR_Command $GLOBALS['_PEAR_Command_shortcuts'][$shortcut] = $command; } } + @closedir($dp); return true; }