Permalink
Browse files

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]
  • Loading branch information...
1 parent 7f72eae commit 4bc1159953d9e86993a16ec3292ed0043d20803c @todb todb committed Nov 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 msfupdate
View
@@ -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

0 comments on commit 4bc1159

Please sign in to comment.