summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install/pkgs.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index 897cd8fa1..15556e224 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -716,7 +716,8 @@ sub _install_raw {
local $packages->{options}{noscripts} = $noscripts;
$urpm::args::options{force_transactions} = 1;
local $packages->{options}{ignoresize} = 1;
- local $packages->{options}{script_fd} = fileno $LOG;
+ # leaks a fd per transaction:
+ #local $packages->{options}{script_fd} = fileno $LOG;
local $packages->{options}{'priority-upgrade'}; # prevent priority upgrade
# log $trans->add() faillure; FIXME: should we override *urpm::msg::sys_log?
local $packages->{error} = \&log::l;