Update pkg/config/config_darwin.go

Co-authored-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
Daniel J Walsh 2020-08-22 06:11:34 -04:00
parent 3bd8ddef5e
commit d208f7340c
1 changed files with 1 additions and 2 deletions

View File

@ -5,8 +5,7 @@ import (
)
func customConfigFile() (string, error) {
path := os.Getenv("CONTAINERS_CONF")
if path != "" {
if path, found := os.LookupEnv("CONTAINERS_CONF"); found {
return path, nil
}
return rootlessConfigPath()