aboutsummaryrefslogtreecommitdiff
path: root/cmd/server/auth.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/server/auth.go')
-rw-r--r--cmd/server/auth.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/server/auth.go b/cmd/server/auth.go
index caade97..5e2316e 100644
--- a/cmd/server/auth.go
+++ b/cmd/server/auth.go
@@ -59,7 +59,8 @@ func (a *App) ReadAuth(fn string) error { //nolint
fh, err := os.Open(fn)
if err != nil {
- if strings.Contains(err.Error(), "no such file") {
+ if strings.Contains(err.Error(), "no such file") ||
+ strings.Contains(err.Error(), "system cannot find the file specified") {
goto write
}