diff --git a/config/config.go b/config/config.go index 6107bde5..9253dd5f 100644 --- a/config/config.go +++ b/config/config.go @@ -116,7 +116,7 @@ func readConfig(path string) (*rawConfig, error) { } 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