Skip to content

Commit 4bc1159

Browse files
committed
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 rapid7#7549]
1 parent 7f72eae commit 4bc1159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msfupdate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ if is_git
148148
end
149149

150150
if is_pro
151-
update_script = File.expand_path(File.join(@msfbase, "..", "engine", "update.rb"))
151+
update_script = File.expand_path(File.join(@msfbase_dir, "..", "engine", "update.rb"))
152152
system("ruby", update_script)
153153
end
154154

0 commit comments

Comments
 (0)