diff options
Diffstat (limited to 'pkg/config')
-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 |