delete file from r.tracking

parent 7906a4d5
......@@ -186,7 +186,11 @@ func (r *Renter) DeleteFile(nickname string) error {
return ErrUnknownPath
delete(r.files, nickname)
delete(r.tracking, nickname)
err := os.RemoveAll(filepath.Join(r.persistDir,
if err != nil {
r.log.Println("WARN: couldn't remove .sia file during delete:", err)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment