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:
parent
9d15b64300
commit
a9218f20f8
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue