fix path on Darwin

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-25 14:48:02 -07:00
parent 8f8e8b677a
commit b9af306685
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ func loadConfigFile() {
filename = user.HomeDir + "\\cloud-control-panel.json" filename = user.HomeDir + "\\cloud-control-panel.json"
} else { } else {
log.Println("OS: " + runtime.GOOS) log.Println("OS: " + runtime.GOOS)
filename = user.HomeDir + "/cloud-control-panel.json" filename = user.HomeDir + "/.cloud-control-panel.json"
} }
tmp := loadConfigFromFilename(filename) tmp := loadConfigFromFilename(filename)