mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-01-07 09:53:58 +08:00
Fix: log correctly path
This commit is contained in:
parent
53528f8275
commit
662038e40e
@ -116,7 +116,7 @@ func readConfig(path string) (*rawConfig, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if len(data) == 0 {
|
if len(data) == 0 {
|
||||||
return nil, fmt.Errorf("Configuration file %s is empty", C.Path.Config())
|
return nil, fmt.Errorf("Configuration file %s is empty", path)
|
||||||
}
|
}
|
||||||
|
|
||||||
// config with some default value
|
// config with some default value
|
||||||
|
Loading…
x
Reference in New Issue
Block a user