write out the config filename at the end
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
a3896449ca
commit
3238695374
1
main.go
1
main.go
|
@ -39,6 +39,7 @@ func onExit(err error) {
|
||||||
time.Sleep(1 * 1000 * 1000 * 1000)
|
time.Sleep(1 * 1000 * 1000 * 1000)
|
||||||
|
|
||||||
filename := config.String("configfile")
|
filename := config.String("configfile")
|
||||||
|
log.Println("SAVING CONFIG FILE AS:", filename)
|
||||||
|
|
||||||
f, err := os.Create(filename + ".yaml")
|
f, err := os.Create(filename + ".yaml")
|
||||||
if err == nil {
|
if err == nil {
|
||||||
|
|
Loading…
Reference in New Issue