mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-22 22:34:49 -04:00
prevent race condition on starting an already running service
This commit is contained in:
10 files changed
+9
-10
No files matched your search
@@ -78,7 +78,7 @@ func AuthBasic(cfg *config.Config) *cli.Command {
|
||||
cancel()
|
||||
})
|
||||
|
||||
if !cfg.Reva.StorageMetadata.Supervised {
|
||||
if !cfg.Reva.AuthBasic.Supervised {
|
||||
sync.Trap(&gr, cancel)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user