lib/ztk/ssh.rb in ztk-1.1.0 vs lib/ztk/ssh.rb in ztk-1.1.1

- old
+ new

@@ -300,10 +300,10 @@ options.ui.logger.debug { message } if !options.ignore_exit_status && (exit_code != options.exit_code) log_and_raise(SSHError, message) end - OpenStruct.new(:output => output, :exit_code => exit_code, :exit_signal => exit_signal) + OpenStruct.new(:command => command, :output => output, :exit_code => exit_code, :exit_signal => exit_signal) end # Uploads a local file to a remote host. # # @param [String] local The local file/path you wish to upload from.