summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index fb78e631..f0fe2118 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2974,9 +2974,9 @@ sub install {
local $_;
while (<$CHILD_RETURNS>) {
chomp;
- if (/^::logger_id:(\d+)(?::(\d+))?/) {
+ if (/^::logger_id:(\d*):(\d*)/) {
$urpm->{logger_id} = $1;
- $2 and $urpm->{logger_count} = $2;
+ $urpm->{logger_count} = $2 if $2;
} else {
push @l, $_;
}