From 86b401fae0f548c04d57700530a57497f0e4a74f Mon Sep 17 00:00:00 2001 From: Hela Drira Date: Thu, 4 May 2017 17:55:47 +0200 Subject: [PATCH] test 2 --- vsphere-influxdb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)