fix segmentation violation

fix https://github.com/chrislusf/seaweedfs/issues/3000
This commit is contained in:
chrislu 2022-05-02 23:56:11 -07:00
parent e82233efa7
commit 9271866d1e

View file

@ -272,6 +272,7 @@ func (ms *MasterServer) startAdminScripts() {
shellOptions.Masters = &masterAddress
shellOptions.Directory = "/"
*shellOptions.FilerGroup = ""
commandEnv := shell.NewCommandEnv(&shellOptions)