1
0
mirror of https://github.com/Oxalide/vsphere-influxdb-go.git synced 2023-10-10 13:36:51 +02:00
This commit is contained in:
Hela Drira 2017-05-04 17:55:47 +02:00
parent b16cc794ca
commit 86b401fae0

View File

@ -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)