From dcbded20bb554c1e7b9691790e31456eba35eba1 Mon Sep 17 00:00:00 2001 From: chrislu Date: Sat, 17 Sep 2022 10:24:47 -0700 Subject: [PATCH] minor --- weed/command/filer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/command/filer.go b/weed/command/filer.go index 4aa537f46..6cc38a4e2 100644 --- a/weed/command/filer.go +++ b/weed/command/filer.go @@ -298,7 +298,7 @@ func (fo *FilerOptions) startFiler() { localSocket = fmt.Sprintf("/tmp/seaweedfs-filer-%d.sock", *fo.port) } 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() { // start on local unix socket