Fix #4966, tell the user the resource script path is invalid

Fix #4966
bug/bundler_fix
sinn3r 2015-03-20 13:38:12 -05:00
parent b19f766728
commit 2c5c94288d
1 changed files with 1 additions and 0 deletions

View File

@ -423,6 +423,7 @@ class Driver < Msf::Ui::Driver
elsif ::File.readable?(path)
resource_file = ::File.read(path)
else
print_error "Cannot find resource script: #{path}"
return
end