aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbanjiaojuhao <banjiaojuhao@qq.com>2022-03-07 23:26:25 +0800
committerbanjiaojuhao <banjiaojuhao@qq.com>2022-03-07 23:26:25 +0800
commitb9ff7723dda56c210582c04dcf09deadd1529f11 (patch)
tree609324e90bf9753771b5198a67734aa9269e9f7a
parentda3d330616663e1c843514bd7a7a2c1833bf42d1 (diff)
downloadseaweedfs-b9ff7723dda56c210582c04dcf09deadd1529f11.tar.xz
seaweedfs-b9ff7723dda56c210582c04dcf09deadd1529f11.zip
[bugfix] filer: nil pointer dereference
-rw-r--r--weed/command/filer.go2
1 files changed, 1 insertions, 1 deletions
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 {