From c752ed95114cfe4a5d6289230f6cd3dcb1874ee3 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 8 Feb 2006 17:13:10 +0000 Subject: Simplification of usage of duped stdout --- urpm/msg.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'urpm/msg.pm') diff --git a/urpm/msg.pm b/urpm/msg.pm index e46638b0..bf4b3e54 100644 --- a/urpm/msg.pm +++ b/urpm/msg.pm @@ -72,11 +72,7 @@ sub message_input { my ($msg, $default_input, %opts) = @_; my $input; while (1) { - if ($urpm::args::options{bug} || !defined fileno ::SAVEOUT) { - print STDOUT $msg; - } else { - print ::SAVEOUT $msg; - } + print $msg; if ($default_input) { $urpm::args::options{bug} and bug_log($default_input); return $default_input; -- cgit v1.2.1