Skip to content

Commit

Permalink
Blacklist lost+found (fix #68)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphink committed Jul 5, 2016
1 parent e19e4d3 commit 49ab6da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conplicity.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func main() {
}

func backupVolume(c *conplicity.Conplicity, vol types.Volume) (err error) {
if utf8.RuneCountInString(vol.Name) == 64 || vol.Name == "duplicity_cache" {
if utf8.RuneCountInString(vol.Name) == 64 || vol.Name == "duplicity_cache" || vol.Name == "lost+found" {
log.WithFields(log.Fields{
"volume": vol.Name,
"reason": "unnamed",
Expand Down

0 comments on commit 49ab6da

Please sign in to comment.