X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=cleanup.go;h=8c757aeebcf4c58d2b1e96ba5e93fa10e0c4b271;hb=bf96757828d2ae663f5f54147c0e229f74fc9357;hp=dff0ee0a64fb217bbe03a9bc465388fbd187c147;hpb=368922086630cdcf1980d372006eb4bf6b459d5a;p=goredo.git diff --git a/cleanup.go b/cleanup.go index dff0ee0..8c757ae 100644 --- a/cleanup.go +++ b/cleanup.go @@ -66,7 +66,7 @@ func redoDirClean(root, what string) error { switch what { case CleanupLog: if strings.HasSuffix(fi.Name(), LogSuffix) || - strings.HasSuffix(fi.Name(), LogSuffix+DepSuffix) { + strings.HasSuffix(fi.Name(), LogRecSuffix) { fmt.Println(pth) if !*DryRun { if err = os.Remove(pth); err != nil {