This reverts commit 8b1f83a0ed.
8b1f83a0ed
@ -115,7 +115,7 @@ func create(tag string, t time.Time) (f *os.File, filename string, err error) {
if err == nil {
symlink := filepath.Join(dir, link)
os.Remove(symlink) // ignore err
os.Symlink(fname, symlink) // ignore err
os.Symlink(name, symlink) // ignore err
return f, fname, nil
}
lastErr = err