We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7025fc commit 423b490Copy full SHA for 423b490
lib/msf/ui/console/command_dispatcher/core.rb
@@ -629,7 +629,7 @@ def cmd_connect(*args)
629
end
630
631
def cmd_edit_help
632
- editor = ENV['VISUAL'] || ENV['EDITOR']
+ editor = Rex::Compat.getenv('VISUAL') || Rex::Compat.getenv('EDITOR')
633
msg = "Edit the currently active module"
634
msg = "#{msg} #{editor ? "with #{editor}" : "($EDITOR must be set first)"}."
635
print_line "Usage: edit"
0 commit comments