From 80dff639a1ef9426c2524961127b9170e72706d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Thu, 14 Mar 2024 09:54:12 -0700 Subject: [PATCH] fix dumb mistake turns out I'm dumb --- cmd/agedit/cli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/agedit/cli.go b/cmd/agedit/cli.go index 77f6d79..56bb8cc 100644 --- a/cmd/agedit/cli.go +++ b/cmd/agedit/cli.go @@ -115,7 +115,7 @@ func before(ctx *cli.Context) error { // load config from file _, err := os.Open(configFile) - if err != nil && !errors.Is(err, os.ErrNotExist) { + if err != nil && errors.Is(err, os.ErrNotExist) { // or not logger.Debug("couldn't load config file", "file", configFile) } else {