diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-10-16 12:09:22 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-10-16 12:22:34 +1100 |
commit | 8c25aaa687a6b0432c73119c521cfea2dd11a9aa (patch) | |
tree | ae1b38b644c7ae9c8f990ff074dc8b1f52385df1 | |
parent | d02e52989ea33fbdbc89a98f5f39932a36acfeb7 (diff) |
extra comment
-rw-r--r-- | pkg/config/app_config.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 |