Skip to content

Commit b4e3ce0

Browse files
committed
Merge branch 'master' of github.com:rapid7/metasploit-framework
2 parents fa77caa + 20bcb80 commit b4e3ce0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/ui/console/driver.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def initialize(prompt = DefaultPrompt, prompt_char = DefaultPromptChar, opts = {
242242
on_startup(opts)
243243

244244
# Process any resource scripts
245-
if opts['Resource'].empty?
245+
if opts['Resource'].blank?
246246
# None given, load the default
247247
load_resource(File.join(Msf::Config.config_directory, 'msfconsole.rc'))
248248
else

0 commit comments

Comments
 (0)