mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
cmd/ctrld: print writing config file message
This commit is contained in:
committed by
Cuong Manh Le
parent
d418e57def
commit
87091f20b0
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user