summaryrefslogtreecommitdiff
path: root/lib/chef/mixin/command/unix.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/mixin/command/unix.rb')
-rw-r--r--lib/chef/mixin/command/unix.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/mixin/command/unix.rb b/lib/chef/mixin/command/unix.rb
index 2bad4e6bcf..5de0ffc670 100644
--- a/lib/chef/mixin/command/unix.rb
+++ b/lib/chef/mixin/command/unix.rb
@@ -30,7 +30,7 @@ class Chef
def popen4(cmd, args={}, &b)
# Ruby 1.8 suffers from intermittent segfaults believed to be due to GC while IO.select
# See CHEF-2916 / CHEF-1305
- GC.disable
+ #GC.disable
# Waitlast - this is magic.
#
@@ -211,7 +211,7 @@ class Chef
[cid, pw.last, pr.first, pe.first]
end
ensure
- GC.enable
+ #GC.enable
end
end