mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-22 13:05:36 +03:00
Don't fail init when ipset is not initialized
This commit is contained in:
parent
4aa6f77a61
commit
cd88137333
1 changed files with 4 additions and 1 deletions
|
@ -198,7 +198,10 @@ func (s *Server) Prepare(config *ServerConfig) error {
|
|||
// --
|
||||
err := s.ipset.init(s.conf.IPSETList)
|
||||
if err != nil {
|
||||
return err
|
||||
// ipset cannot be initialized in a Snap version (and maybe - without root)
|
||||
// this needs to be handled properly
|
||||
// TODO: Handle this properly
|
||||
log.Info("Cannot initialize ipset module due to %v", err)
|
||||
}
|
||||
|
||||
// Prepare DNS servers settings
|
||||
|
|
Loading…
Reference in a new issue