summaryrefslogtreecommitdiff
path: root/lib/mixlib/shellout/windows.rb
diff options
context:
space:
mode:
authorMax Lincoln <max@devopsy.com>2014-07-09 16:05:17 -0400
committerMax Lincoln <max@devopsy.com>2014-07-17 13:01:04 -0400
commit5ce6ead83be1a46241db53e401f44c9a40f598ce (patch)
treede80864f2c23906496195ed55ad98e420d4ae558 /lib/mixlib/shellout/windows.rb
parentb5e27147f0a5f0ccf44ff4968be2bdfb0c2ce35d (diff)
downloadmixlib-shellout-5ce6ead83be1a46241db53e401f44c9a40f598ce.tar.gz
Support separate live stream for stderr
Diffstat (limited to 'lib/mixlib/shellout/windows.rb')
-rw-r--r--lib/mixlib/shellout/windows.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mixlib/shellout/windows.rb b/lib/mixlib/shellout/windows.rb
index 832584a..62adc37 100644
--- a/lib/mixlib/shellout/windows.rb
+++ b/lib/mixlib/shellout/windows.rb
@@ -167,7 +167,7 @@ module Mixlib
begin
next_chunk = stderr_read.readpartial(READ_SIZE)
@stderr << next_chunk
- @live_stream << next_chunk if @live_stream
+ @live_stderr_stream << next_chunk if @live_stderr_stream
rescue EOFError
stderr_read.close
open_streams.delete(stderr_read)