Skip to content

Commit 8cec8e6

Browse files
committed
Land rapid7#4968, print_error for msfconsole -r
2 parents b19f766 + 4d00114 commit 8cec8e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/msf/ui/console/driver.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,7 @@ def load_resource(path)
423423
elsif ::File.readable?(path)
424424
resource_file = ::File.read(path)
425425
else
426+
print_error("Cannot find resource script: #{path}")
426427
return
427428
end
428429

0 commit comments

Comments
 (0)