Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'CHEF-1050' of git://github.com/danielsdeleo/ohai into d…

…anielsdeleo/CHEF-1050
  • Loading branch information...
commit bf4c2af19c254b0cd2096ed5a556f12ae46e07e5 2 parents 23d27cc + 32bc400
@adamhjk adamhjk authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/ohai/system.rb
View
5 lib/ohai/system.rb
@@ -129,7 +129,10 @@ def all_plugins
end
end
# Catch any errant children who need to be reaped
- Process.wait(-1, Process::WNOHANG) rescue Errno::ECHILD
+ begin
+ true while Process.wait(-1, Process::WNOHANG)
+ rescue Errno::ECHILD
+ end
true
end
Please sign in to comment.
Something went wrong with that request. Please try again.