diff --git a/context/context.go b/context/context.go index a3d56688..30e84d42 100644 --- a/context/context.go +++ b/context/context.go @@ -102,6 +102,9 @@ func (context *AptlyContext) config() *utils.ConfigStructure { for _, configLocation := range configLocations { // FIXME: check if exists, check if readable err = utils.LoadConfig(configLocation, &utils.Config) + if os.IsPermission(err) || os.IsNotExist(err) { + continue + } if err == nil { break }