mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Check for seal status when initing and change logic order to avoid defer
This commit is contained in:
@@ -376,6 +376,11 @@ func (c *ServerCommand) Run(args []string) int {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for _, listener := range lns {
|
||||
listener.Close()
|
||||
}
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user