1
0
Fork 0
mirror of https://github.com/alice-lg/birdwatcher.git synced 2025-03-09 00:00:05 +01:00

dirtily ensure local path is searched

This commit is contained in:
hellerve 2017-02-22 18:52:48 +01:00
parent 9d15b64300
commit a9218f20f8

View file

@ -59,7 +59,7 @@ func LoadConfigs(configFiles []string) (*Config, error) {
func ConfigOptions(filename string) []string {
return []string{
strings.Join([]string{"/", filename}, ""),
filename,
strings.Join([]string{"./", filename}, ""),
strings.Replace(filename, ".conf", ".local.conf", 1),
}
}