From 8e789a73a07d0741e6c53068c517a38bb730c8ba Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Sat, 17 Sep 2022 16:13:09 -0400 Subject: Remove fs / FileSystem library support since it is broken on Windows. --- cmd/server/auth.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd/server') 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 } -- cgit v1.2.3