Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Commit

Permalink
save renter after deleting a file
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidVorick authored and lukechampine committed May 12, 2015
1 parent 4684394 commit 90aedcf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/renter/files.go
Expand Up @@ -118,6 +118,8 @@ func (r *Renter) DeleteFile(nickname string) error {
return ErrUnknownNickname
}
delete(r.files, nickname)

r.save()
return nil
}

Expand Down

0 comments on commit 90aedcf

Please sign in to comment.