explain to the user that we couldn't find a vncviewer

git-svn-id: file:///home/svn/framework3/trunk@9574 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2010-06-22 00:13:43 +00:00
parent 83962cb24a
commit 6fb4a5630a
2 changed files with 6 additions and 2 deletions

View File

@ -103,7 +103,9 @@ module Metasploit3
# If the AUTOVNC flag is set, launch VNC viewer.
if (datastore['AUTOVNC'] == true)
if (session.autovnc)
print_status("Launched vnciewer in the background.")
print_status("Launched vnciewer.")
else
print_error("Failed to launch vncviewer. Is it installed in your path?")
end
end

View File

@ -101,7 +101,9 @@ module Metasploit3
# If the AUTOVNC flag is set, launch VNC viewer.
if (datastore['AUTOVNC'] == true)
if (session.autovnc)
print_status("Launched vnciewer in the background.")
print_status("Launched vnciewer.")
else
print_error("Failed to launch vncviewer. Is it installed in your path?")
end
end