From b9ff7723dda56c210582c04dcf09deadd1529f11 Mon Sep 17 00:00:00 2001 From: banjiaojuhao Date: Mon, 7 Mar 2022 23:26:25 +0800 Subject: [PATCH] [bugfix] filer: nil pointer dereference --- 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 07fedd72d..9fb6191a7 100644 --- a/weed/command/filer.go +++ b/weed/command/filer.go @@ -149,7 +149,7 @@ func runFiler(cmd *Command, args []string) bool { }() startDelay++ } else { - f.localSocket = nil + *f.localSocket = "" } if *filerStartWebDav {