fix path on Darwin
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
8f8e8b677a
commit
b9af306685
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue