ing
This commit is contained in:
parent
89da001e7d
commit
07be57fe25
|
@ -104,9 +104,10 @@ func (c *config) getConfigFiles(files ...string) []string {
|
|||
|
||||
for _, file := range files {
|
||||
// check configuration
|
||||
pFile := filepath.Join(c.configPath, file)
|
||||
if exists(pFile) {
|
||||
results = append(results, pFile)
|
||||
if absin, err := absPathify(filepath.Join(c.configPath, file)); nil == err {
|
||||
if exists(absin) {
|
||||
results = append(results, absin)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user