diff options
author | John Keiser <jkeiser@opscode.com> | 2011-10-18 17:02:24 -0700 |
---|---|---|
committer | John Keiser <jkeiser@opscode.com> | 2011-10-18 17:02:24 -0700 |
commit | 9ad5d754a2870db829a1a14c0d32589c1101c571 (patch) | |
tree | 46d62ef5a90d66d0debc10ecea28a791db98c259 | |
parent | de352404109a0c6d94c727b9ef850330f0bb077f (diff) | |
download | chef-9ad5d754a2870db829a1a14c0d32589c1101c571.tar.gz |
Fix typo in environment support for Windows shell_out
-rw-r--r-- | chef/lib/chef/shell_out/windows.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef/lib/chef/shell_out/windows.rb b/chef/lib/chef/shell_out/windows.rb index a0ee80efae..1d3a7aa3a0 100644 --- a/chef/lib/chef/shell_out/windows.rb +++ b/chef/lib/chef/shell_out/windows.rb @@ -155,7 +155,7 @@ class Chef end environment.each_pair do |k,v| - if v != nil + if v == nil result.delete(k) else result[k] = v |