Skip to content

Commit

Permalink
Merge pull request #19662 from sjanusz-r7/fix-no-readline-crash
Browse files Browse the repository at this point in the history
Load Readline without a conditional
  • Loading branch information
adfoster-r7 authored Nov 19, 2024
2 parents e199dd7 + 523a172 commit 09db181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/msf/ui/console/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Driver < Msf::Ui::Driver
# @option opts [Boolean] 'SkipDatabaseInit' (false) Whether to skip
# connecting to the database and running migrations
def initialize(prompt = DefaultPrompt, prompt_char = DefaultPromptChar, opts = {})
setup_readline if opts['Readline']
setup_readline

histfile = opts['HistFile'] || Msf::Config.history_file

Expand Down

0 comments on commit 09db181

Please sign in to comment.