Skip to content

Commit

Permalink
Land #9102, Fix nil bug in setting PromptChar without Prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Cook committed Oct 20, 2017
2 parents e941677 + 8e5deac commit 1319175
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 @@ -593,7 +593,7 @@ def on_variable_set(glob, var, val)
when "prompt"
update_prompt(val, framework.datastore['PromptChar'] || DefaultPromptChar, true)
when "promptchar"
update_prompt(framework.datastore['Prompt'], val, true)
update_prompt(framework.datastore['Prompt'] || DefaultPrompt, val, true)
end
end

Expand Down

0 comments on commit 1319175

Please sign in to comment.