Skip to content

Commit 6bc55bf

Browse files
David MaloneyDavid Maloney
authored andcommitted
change is_apt method
1 parent b547f7f commit 6bc55bf

File tree

1 file changed

+1
-1
lines changed
  • lib/msf/ui/console/command_dispatcher

1 file changed

+1
-1
lines changed

lib/msf/ui/console/command_dispatcher/core.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3067,7 +3067,7 @@ def is_metasploit_debian_package_installed
30673067

30683068
# Determines if this is an apt-based install
30693069
def is_apt
3070-
File.exists?(File.expand_path(File.join(msfbase_dir, '.apt')))
3070+
File.exists?(File.expand_path(File.join(Msf::Config.install_root, '.apt')))
30713071
end
30723072

30733073
# Determines if we're a Metasploit Pro/Community/Express

0 commit comments

Comments
 (0)