Fix undeclared variable in initialize error handling

This commit is contained in:
bcoles
2019-03-23 17:44:42 +11:00
committed by GitHub
parent 35b3505bf8
commit 355cb38593

View File

@@ -30,7 +30,7 @@ module BeEF
@config.default = nil @config.default = nil
@@config = config @@config = config
rescue => e rescue => e
print_error "Fatal Error: cannot load configuration file '#{file}' : #{e.message}" print_error "Fatal Error: cannot load configuration file '#{config}' : #{e.message}"
print_error e.backtrace print_error e.backtrace
end end