From 29107b92d97a9447719b0bb67b30dce535318f56 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 31 Jul 2006 18:26:14 +0000 Subject: [PATCH] Don't write to emerge.log when --pretend is enabled for bug #139449. This patch is from trunk r4068. svn path=/main/branches/2.1/; revision=4069 --- bin/emerge | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/emerge b/bin/emerge index 1f86800d1..3f7d6b944 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2162,7 +2162,8 @@ class depgraph: # due to power failure, SIGKILL, etc... portage.commit_mtimedb() - emergelog(" *** Finished. Cleaning up...") + if "--pretend" not in myopts: + emergelog(" *** Finished. Cleaning up...") # We're out of the loop... We're done. Delete the resume data. if portage.mtimedb.has_key("resume"): -- 2.26.2