diff --git a/lib/filesystem.js b/lib/filesystem.js index fada2cda..9fc30f8d 100644 --- a/lib/filesystem.js +++ b/lib/filesystem.js @@ -809,7 +809,7 @@ FS.prototype.Rename = function(olddirid, oldname, newdirid, newname) { } // For event notification near end of method. - var oldpath = this.GetFullPath(olddirid) + "/oldname"; + var oldpath = this.GetFullPath(olddirid) + "/" + oldname; var newid = this.Search(newdirid, newname); if (newid != -1) {