Skip to content

Commit

Permalink
Unbreak yourself!
Browse files Browse the repository at this point in the history
  • Loading branch information
sinn3r committed Oct 2, 2012
1 parent 3d999f1 commit a526e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/msf/core/post/file.rb
Expand Up @@ -302,7 +302,7 @@ def rm_f(*remote_files)
# Rename a remote file
#
def rename_file(new_file, old_file)
write_file(new_file, (read_file(old_file))
write_file(new_file, (read_file(old_file)))
rm_f(old_file)
end
alias :move_file :rename_file
Expand Down

0 comments on commit a526e3d

Please sign in to comment.