summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-21 18:23:18 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-21 18:23:18 +0000
commiteb1eb2d3e28d5d9c4ea86e304c2eae4a7c0968b2 (patch)
tree1ea4d823d2bebe905192ac48c48f0de7f756822b
parenta0bec10b835fae1422e289587db1ea83a24db9ba (diff)
downloadurpmi-eb1eb2d3e28d5d9c4ea86e304c2eae4a7c0968b2.tar
urpmi-eb1eb2d3e28d5d9c4ea86e304c2eae4a7c0968b2.tar.gz
urpmi-eb1eb2d3e28d5d9c4ea86e304c2eae4a7c0968b2.tar.bz2
urpmi-eb1eb2d3e28d5d9c4ea86e304c2eae4a7c0968b2.tar.xz
urpmi-eb1eb2d3e28d5d9c4ea86e304c2eae4a7c0968b2.zip
Forgot to transmit the second counter to parent. Aar.
-rw-r--r--urpm.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index 43c1c8af..ab428e17 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2949,8 +2949,9 @@ sub install {
my @l;
while (<CHILD_RETURNS>) {
chomp;
- if (/^::logger_id:(\d+)/) {
+ if (/^::logger_id:(\d+)(?::(\d+))?/) {
$urpm->{logger_id} = $1;
+ $2 and $urpm->{logger_count} = $2;
} else {
push @l, $_;
}
@@ -3052,7 +3053,7 @@ sub install {
#- now exit or return according to current status.
if (defined $pid && !$pid) { #- child process
- print ERROR_OUTPUT "::logger_id:$urpm->{logger_id}\n"; #- allow main urpmi to know transaction numbering...
+ print ERROR_OUTPUT "::logger_id:$urpm->{logger_id}:$urpm->{logger_count}\n"; #- allow main urpmi to know transaction numbering...
print ERROR_OUTPUT "$_\n" foreach @l;
close ERROR_OUTPUT;
#- keep safe exit now (with destructor call).