diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-02-08 17:13:10 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-02-08 17:13:10 +0000 |
commit | c752ed95114cfe4a5d6289230f6cd3dcb1874ee3 (patch) | |
tree | ea2660303e2070a7136ea3ec0badc6c4b0131673 /urpm | |
parent | d10a10935e9502e013443a678c361c4bb22eaa25 (diff) | |
download | urpmi-c752ed95114cfe4a5d6289230f6cd3dcb1874ee3.tar urpmi-c752ed95114cfe4a5d6289230f6cd3dcb1874ee3.tar.gz urpmi-c752ed95114cfe4a5d6289230f6cd3dcb1874ee3.tar.bz2 urpmi-c752ed95114cfe4a5d6289230f6cd3dcb1874ee3.tar.xz urpmi-c752ed95114cfe4a5d6289230f6cd3dcb1874ee3.zip |
Simplification of usage of duped stdout
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/msg.pm | 6 |
1 files changed, 1 insertions, 5 deletions
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; |