Fixes a pro bug with updating

This came up in a release candidate for Metasploit 4.5, haven't
exercised this code path yet.

Aint no thang.

[FixRM #7549]
unstable
Tod Beardsley 2012-11-30 16:50:58 -06:00
parent 7f72eae8b9
commit 4bc1159953
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ if is_git
end
if is_pro
update_script = File.expand_path(File.join(@msfbase, "..", "engine", "update.rb"))
update_script = File.expand_path(File.join(@msfbase_dir, "..", "engine", "update.rb"))
system("ruby", update_script)
end