diff --git a/lib/train/transports/winrm_connection.rb b/lib/train/transports/winrm_connection.rb index 75eb8a4b..aa6f9bfd 100644 --- a/lib/train/transports/winrm_connection.rb +++ b/lib/train/transports/winrm_connection.rb @@ -150,7 +150,7 @@ def rdp_doc(opts = {}) def establish_shell(opts) service_args = [@endpoint, @winrm_transport, options] @service = ::WinRM::WinRMWebService.new(*service_args) - closer = WinRM::Transport::ShellCloser.new("#{self}", logger.debug?, service_args) + closer = WinRM::Transport::ShellCloser.new("#{self}", false, service_args) executor = WinRM::Transport::CommandExecutor.new(@service, logger, closer) retryable(opts) do