Pull request: all: fix specs, imp docs
Merge in DNS/adguard-home from fix-specs-2 to master Squashed commit of the following: commit 687c5ead52ba4939ea89405a9a326c23e72c502b Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Thu Apr 8 16:38:34 2021 +0300 all: fix specs, imp docs
This commit is contained in:
@@ -86,7 +86,7 @@ func InitAuth(dbFilename string, users []User, sessionTTL uint32) *Auth {
|
||||
if err != nil {
|
||||
log.Error("auth: open DB: %s: %s", dbFilename, err)
|
||||
if err.Error() == "invalid argument" {
|
||||
log.Error("AdGuard Home cannot be initialized due to an incompatible file system.\nPlease read the explanation here: https://github.com/AdguardTeam/AdGuardHome/internal/wiki/Getting-Started#limitations")
|
||||
log.Error("AdGuard Home cannot be initialized due to an incompatible file system.\nPlease read the explanation here: https://github.com/AdguardTeam/AdGuardHome/wiki/Getting-Started#limitations")
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
@@ -158,7 +158,7 @@ func (s *statsCtx) dbOpen() bool {
|
||||
if err != nil {
|
||||
log.Error("stats: open DB: %s: %s", s.conf.Filename, err)
|
||||
if err.Error() == "invalid argument" {
|
||||
log.Error("AdGuard Home cannot be initialized due to an incompatible file system.\nPlease read the explanation here: https://github.com/AdguardTeam/AdGuardHome/internal/wiki/Getting-Started#limitations")
|
||||
log.Error("AdGuard Home cannot be initialized due to an incompatible file system.\nPlease read the explanation here: https://github.com/AdguardTeam/AdGuardHome/wiki/Getting-Started#limitations")
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user