diff --git a/weed/server/master_server.go b/weed/server/master_server.go index 8af862ad5..e02552730 100644 --- a/weed/server/master_server.go +++ b/weed/server/master_server.go @@ -272,7 +272,8 @@ func (ms *MasterServer) startAdminScripts() { shellOptions.Masters = &masterAddress shellOptions.Directory = "/" - *shellOptions.FilerGroup = "" + emptyFilerGroup := "" + shellOptions.FilerGroup = &emptyFilerGroup commandEnv := shell.NewCommandEnv(&shellOptions)