aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2022-03-07 10:02:24 -0800
committerGitHub <noreply@github.com>2022-03-07 10:02:24 -0800
commitd1b2231bc82888cbfcd742bfe867cc7772f07ee2 (patch)
tree609324e90bf9753771b5198a67734aa9269e9f7a /weed/command/filer.go
parentda3d330616663e1c843514bd7a7a2c1833bf42d1 (diff)
parentb9ff7723dda56c210582c04dcf09deadd1529f11 (diff)
downloadseaweedfs-d1b2231bc82888cbfcd742bfe867cc7772f07ee2.tar.xz
seaweedfs-d1b2231bc82888cbfcd742bfe867cc7772f07ee2.zip
Merge pull request #2733 from banjiaojuhao/filer-bugfix-nil_pointer_dereference
Diffstat (limited to 'weed/command/filer.go')
-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 {