mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-06 04:09:40 -06:00
prevent race condition on starting an already running service
This commit is contained in:
@@ -84,7 +84,7 @@ func Groups(cfg *config.Config) *cli.Command {
|
||||
cancel()
|
||||
})
|
||||
|
||||
if !cfg.Reva.StorageMetadata.Supervised {
|
||||
if !cfg.Reva.Groups.Supervised {
|
||||
sync.Trap(&gr, cancel)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user