summaryrefslogtreecommitdiffstats
path: root/urpm/download.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/download.pm')
-rw-r--r--urpm/download.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/download.pm b/urpm/download.pm
index c21caeca..25f43fdb 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -815,7 +815,7 @@ END {
#- get the width of the terminal
my $wchar = 79;
-if (-t STDOUT) {
+if (-t *STDOUT) {
eval {
require Term::ReadKey;
($wchar) = Term::ReadKey::GetTerminalSize();