summaryrefslogtreecommitdiff
path: root/lib/mixlib/shellout/unix.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mixlib/shellout/unix.rb')
-rw-r--r--lib/mixlib/shellout/unix.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mixlib/shellout/unix.rb b/lib/mixlib/shellout/unix.rb
index 55a0372..af3e421 100644
--- a/lib/mixlib/shellout/unix.rb
+++ b/lib/mixlib/shellout/unix.rb
@@ -84,7 +84,7 @@ module Mixlib
self
rescue Exception
# do our best to kill zombies
- Process.waitpid2(@child_pid, Process::WNOHANG) rescue nil
+ Process.waitpid2(@child_pid) rescue nil
raise
ensure
# no matter what happens, turn the GC back on, and hope whatever busted