diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-21 18:23:18 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-21 18:23:18 +0000 |
commit | eb1eb2d3e28d5d9c4ea86e304c2eae4a7c0968b2 (patch) | |
tree | 1ea4d823d2bebe905192ac48c48f0de7f756822b /urpm.pm | |
parent | a0bec10b835fae1422e289587db1ea83a24db9ba (diff) | |
download | urpmi-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.
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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). |