summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-05 04:48:23 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-05 04:48:23 +0000
commit9194566a0df930304f3fd4fbb811116608187a8a (patch)
tree1b7761f954138c3a5a9f04892b517cf72f2ee925
parentfa28a5985aa7b08f039b9353faf1807f6bfbf83f (diff)
downloadurpmi-9194566a0df930304f3fd4fbb811116608187a8a.tar
urpmi-9194566a0df930304f3fd4fbb811116608187a8a.tar.gz
urpmi-9194566a0df930304f3fd4fbb811116608187a8a.tar.bz2
urpmi-9194566a0df930304f3fd4fbb811116608187a8a.tar.xz
urpmi-9194566a0df930304f3fd4fbb811116608187a8a.zip
Interprocess logging cleanup
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 4aeb5310..5510158c 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2781,7 +2781,7 @@ sub install {
}
#- now exit or return according to current status.
- if (defined $pid) {
+ 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 "$_\n" foreach @l;
close ERROR_OUTPUT;