mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-09-29 13:51:51 +02:00
cmd/ctrld: print writing config file message
This commit is contained in:
1 parent
d418e57def
commit
87091f20b0
1 file changed
+2
@@ -434,7 +434,9 @@ func writeConfigFile() {
|
|||||||
}
|
}
|
||||||
if err := f.Close(); err != nil {
|
if err := f.Close(); err != nil {
|
||||||
log.Printf("failed to write config file: %v\n", err)
|
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 {
|
func readConfigFile(writeDefaultConfig bool) bool {
|
||||||
|
|||||||
Reference in new issue
Block a user