fix auto config defile

This commit is contained in:
xxjwxc
2020-02-23 14:44:33 +08:00
parent 2aa5bb804d
commit b7c5b5b6c7

View File

@@ -63,7 +63,7 @@ func onInit() {
// InitFile default value from file .
func InitFile(filename string) error {
if _, e := os.Stat(filename); e != nil {
fmt.Println("init default config file", filename)
fmt.Println("init default config file: ", filename)
if err := SaveToFile(); err == nil {
fmt.Println("done,please restart.")
} else {