cmd/ctrld: print writing config file message

This commit is contained in:
Cuong Manh Le
2023-01-20 12:50:09 +07:00
committed by Cuong Manh Le
parent d418e57def
commit 87091f20b0

View File

@@ -434,7 +434,9 @@ func writeConfigFile() {
}
if err := f.Close(); err != nil {
log.Printf("failed to write config file: %v\n", err)
os.Exit(1)
}
fmt.Println("writing config file to:", defaultConfigFile)
}
func readConfigFile(writeDefaultConfig bool) bool {