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