summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 427a0b6e..d2ab1d5a 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2872,7 +2872,11 @@ sub install {
my @l;
while (<CHILD_RETURNS>) {
chomp;
- push @l, $_;
+ if (/^\::logger_id:(\d+)/) {
+ $urpm->{logger_id} = $1;
+ } else {
+ push @l, $_;
+ }
}
close CHILD_RETURNS;
@@ -2960,6 +2964,7 @@ sub install {
#- now exit or return according to current status.
if (defined $pid) {
+ print ERROR_OUTPUT "::logger_id:$urpm->{logger_id}\n"; #- allow main urpmi to know transaction numbering...
print ERROR_OUTPUT "$_\n" foreach @l;
close ERROR_OUTPUT;
#- keep safe exit now (with destructor call).