summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-09-09 10:50:22 -0700
committerGitHub <noreply@github.com>2020-09-09 10:50:22 -0700
commite8d140186a6154fc69520a30495fb3785118550d (patch)
tree75dc925bf27a854979ab8b40001d7ec702defbcd
parent3242f7fac05e5a175610821b7233f62cac02afe2 (diff)
downloadmixlib-shellout-e8d140186a6154fc69520a30495fb3785118550d.tar.gz
Update lib/mixlib/shellout/windows/core_ext.rb
-rw-r--r--lib/mixlib/shellout/windows/core_ext.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mixlib/shellout/windows/core_ext.rb b/lib/mixlib/shellout/windows/core_ext.rb
index 5e8e75e..0f7b692 100644
--- a/lib/mixlib/shellout/windows/core_ext.rb
+++ b/lib/mixlib/shellout/windows/core_ext.rb
@@ -577,7 +577,7 @@ module Process
offset = 0
loop do
new_str_pointer = str_ptr.+(offset)
- break if new_str_pointer.read_string(2) == ENVIROMENT_BLOCK_ENDS
+ break if new_str_pointer.read_string(2) == ENVIRONMENT_BLOCK_ENDS
environment = new_str_pointer.read_wstring
env_list << environment