This commit is contained in:
crusader 2017-09-19 14:59:22 +09:00
parent 89da001e7d
commit 07be57fe25

View File

@ -104,9 +104,10 @@ func (c *config) getConfigFiles(files ...string) []string {
for _, file := range files { for _, file := range files {
// check configuration // check configuration
pFile := filepath.Join(c.configPath, file) if absin, err := absPathify(filepath.Join(c.configPath, file)); nil == err {
if exists(pFile) { if exists(absin) {
results = append(results, pFile) results = append(results, absin)
}
} }
} }