diff options
author | Bryan McLellan <btm@opscode.com> | 2011-06-03 15:49:19 -0700 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2011-06-03 15:54:33 -0700 |
commit | e79ed828cc7120befa07a0be513a88d36eeef587 (patch) | |
tree | d4e9090b6c9452487763a38e8cd325c4a34adc22 | |
parent | cb294cf3bb63e219b15d8929a25dfc5ef53c7c99 (diff) | |
download | chef-e79ed828cc7120befa07a0be513a88d36eeef587.tar.gz |
CHEF-2250: Collect exitstatus via 0 after open3 block
-rw-r--r-- | chef/lib/chef/shell_out/windows.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chef/lib/chef/shell_out/windows.rb b/chef/lib/chef/shell_out/windows.rb index 9376d72c4a..e923fe4074 100644 --- a/chef/lib/chef/shell_out/windows.rb +++ b/chef/lib/chef/shell_out/windows.rb @@ -58,11 +58,11 @@ class Chef out_reader.join err_reader.join - - @status = $? end end + @status = $? + self rescue Timeout::Error |