From 8c25aaa687a6b0432c73119c521cfea2dd11a9aa Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sat, 16 Oct 2021 12:09:22 +1100 Subject: extra comment --- pkg/config/app_config.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/config') diff --git a/pkg/config/app_config.go b/pkg/config/app_config.go index 03807a3ce..024b7b0de 100644 --- a/pkg/config/app_config.go +++ b/pkg/config/app_config.go @@ -284,6 +284,7 @@ func loadAppState() (*AppState, error) { filepath, err := configFilePath("state.yml") if err != nil { if os.IsPermission(err) { + // apparently when people have read-only permissions they prefer us to fail silently return getDefaultAppState(), nil } return nil, err -- cgit v1.2.3