summaryrefslogtreecommitdiffstats
path: root/urpm/install.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/install.pm')
-rw-r--r--urpm/install.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index d4b83706..ac68c9eb 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -21,7 +21,7 @@ urpm::install - Package installation transaction routines for urpmi
# size of the installation progress bar
my $progress_size = 45;
-if (-t STDOUT) {
+if (-t *STDOUT) {
eval {
require Term::ReadKey;
($progress_size) = Term::ReadKey::GetTerminalSize();