summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 996c4dc2..5d7a402d 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2723,7 +2723,7 @@ sub install_logger {
if ($subtype eq 'start') {
$urpm->{logger_progress} = 0;
if ($type eq 'trans') {
- $urpm->{logger_id} = 0;
+ $urpm->{logger_id} ||= 0;
printf "%-28s", N("Preparing...");
} else {
printf "%4d:%-23s", ++$urpm->{logger_id}, ($pkg && $pkg->name);