summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-07-31 18:25:35 +0000
committerZac Medico <zmedico@gentoo.org>2006-07-31 18:25:35 +0000
commita44140ca77aa238e6c752333546c82b623e1c517 (patch)
tree4bc88fba4fc4b6d08d011bfa8a82d615581fa54c
parent1cc05ec3629f3664c0ca81e9004c4c09e4940006 (diff)
downloadportage-a44140ca77aa238e6c752333546c82b623e1c517.tar.gz
portage-a44140ca77aa238e6c752333546c82b623e1c517.tar.bz2
portage-a44140ca77aa238e6c752333546c82b623e1c517.zip
Don't write to emerge.log when --pretend is enabled for bug #139449.
svn path=/main/trunk/; revision=4068
-rwxr-xr-xbin/emerge3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 47559da90..8b6d85fb1 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -2094,7 +2094,8 @@ class MergeTask(object):
# due to power failure, SIGKILL, etc...
mtimedb.commit()
- emergelog(xterm_titles, " *** Finished. Cleaning up...")
+ if "--pretend" not in self.myopts:
+ emergelog(xterm_titles, " *** Finished. Cleaning up...")
# We're out of the loop... We're done. Delete the resume data.
if mtimedb.has_key("resume"):