Browse Source

Revert "adjust symlink"

This reverts commit 8b1f83a0ed.
pull/174/head
chrislusf 10 years ago
parent
commit
c4897df09c
  1. 4
      go/glog/glog_file.go

4
go/glog/glog_file.go

@ -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

Loading…
Cancel
Save