diff --git a/modules/post/multi/manage/shell_to_meterpreter.rb b/modules/post/multi/manage/shell_to_meterpreter.rb index e447483955..070b195847 100644 --- a/modules/post/multi/manage/shell_to_meterpreter.rb +++ b/modules/post/multi/manage/shell_to_meterpreter.rb @@ -175,8 +175,7 @@ class Metasploit3 < Msf::Post aborted = true if !ret.empty? end if aborted - print_error('Error: Unable to execute the following command:') - print_error(cmd.inspect) + print_error('Error: Unable to execute the following command: ' + cmd.inspect) print_error('Output: ' + ret.inspect) if ret && !ret.empty? break end