Browse Source

minor

message_send
chrislu 2 years ago
parent
commit
dcbded20bb
  1. 2
      weed/command/filer.go

2
weed/command/filer.go

@ -298,7 +298,7 @@ func (fo *FilerOptions) startFiler() {
localSocket = fmt.Sprintf("/tmp/seaweedfs-filer-%d.sock", *fo.port) localSocket = fmt.Sprintf("/tmp/seaweedfs-filer-%d.sock", *fo.port)
} }
if err := os.Remove(localSocket); err != nil && !os.IsNotExist(err) { if err := os.Remove(localSocket); err != nil && !os.IsNotExist(err) {
glog.Fatalf("Failed to remove %s, error: %s", localSocket, err.Error())
glog.Fatalf("Failed to remove %s, error: %v", localSocket, err)
} }
go func() { go func() {
// start on local unix socket // start on local unix socket

Loading…
Cancel
Save