diff --git a/vsphere-influxdb.go b/vsphere-influxdb.go index c0ed833..eda11a9 100644 --- a/vsphere-influxdb.go +++ b/vsphere-influxdb.go @@ -632,7 +632,7 @@ func main() { stdlog.Println("Starting :", path.Base(os.Args[0])) // read the configuration - file, err := os.Open("/etc/" + path.Base(os.Args[0]) + ".json") + file, err := os.Open(path.Base(os.Args[0]) + ".json") if err != nil { errlog.Println("Could not open configuration file") errlog.Println(err)