Skip to content

Commit

Permalink
fix auto config defile
Browse files Browse the repository at this point in the history
  • Loading branch information
xxjwxc committed Feb 23, 2020
1 parent 2aa5bb8 commit b7c5b5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/config/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b7c5b5b

Please sign in to comment.