Revert "adjust symlink"

This reverts commit 8b1f83a0ed.
This commit is contained in:
chrislusf 2015-07-13 11:13:47 -07:00
parent 8b1f83a0ed
commit c4897df09c

View file

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