inline the error message

bug/bundler_fix
Tim Wright 2014-10-22 20:08:14 +01:00
parent 2ab73688dc
commit 8c3c73a72d
1 changed files with 1 additions and 2 deletions

View File

@ -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