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) {
|
func customConfigFile() (string, error) {
|
||||||
path := os.Getenv("CONTAINERS_CONF")
|
if path, found := os.LookupEnv("CONTAINERS_CONF"); found {
|
||||||
if path != "" {
|
|
||||||
return path, nil
|
return path, nil
|
||||||
}
|
}
|
||||||
return rootlessConfigPath()
|
return rootlessConfigPath()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue