Update pkg/config/config_darwin.go
Co-authored-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
parent
3bd8ddef5e
commit
d208f7340c
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue