prevent race condition on starting an already running service

This commit is contained in:
A.Unger
2021-07-02 16:05:04 +02:00
parent b3bae592d0
commit 72630c3291
10 changed files with 9 additions and 10 deletions

View File

@@ -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)
}