summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util.rb
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-07-18 16:16:08 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-07-18 16:16:08 +0000
commitd9a30a679d48140634935d87d0c5d3218daf917e (patch)
treee2fb785e98e29f6658b1367c2a1f25a3a9ea039c /lib/puppet/util.rb
parente61806566f8fff0bf7ef9b7e8c1d3ddec3dc88f8 (diff)
downloadpuppet-d9a30a679d48140634935d87d0c5d3218daf917e.tar.gz
puppet-d9a30a679d48140634935d87d0c5d3218daf917e.tar.xz
puppet-d9a30a679d48140634935d87d0c5d3218daf917e.zip
Trying to get rid of the warning from #724
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2703 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/util.rb')
-rw-r--r--lib/puppet/util.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/puppet/util.rb b/lib/puppet/util.rb
index fab1a493d..a3d84b5c6 100644
--- a/lib/puppet/util.rb
+++ b/lib/puppet/util.rb
@@ -306,7 +306,10 @@ module Util
output_file = Tempfile.new("puppet")
end
+ oldverb = $VERBOSE
+ $VERBOSE = false
child_pid = Kernel.fork
+ $VERBOSE = oldverb
if child_pid
# Parent process executes this
child_status = Process.waitpid2(child_pid)[1]