summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-08 17:13:10 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-08 17:13:10 +0000
commitc752ed95114cfe4a5d6289230f6cd3dcb1874ee3 (patch)
treeea2660303e2070a7136ea3ec0badc6c4b0131673 /urpm
parentd10a10935e9502e013443a678c361c4bb22eaa25 (diff)
downloadurpmi-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.pm6
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;