diff options
Diffstat (limited to 'lib/ohai/mixin/command.rb')
-rw-r--r-- | lib/ohai/mixin/command.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ohai/mixin/command.rb b/lib/ohai/mixin/command.rb index 4487e3bf..a719e274 100644 --- a/lib/ohai/mixin/command.rb +++ b/lib/ohai/mixin/command.rb @@ -224,6 +224,10 @@ module Ohai begin e = Marshal.load ps.first + pw.last.close + pr.first.close + pe.first.close + Process.wait(cid) raise(Exception === e ? e : "unknown failure!") rescue EOFError # If we get an EOF error, then the exec was successful 42 |