From fd1843ca7218bf8ec997e6a62fb46a016424ffc6 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 16 Feb 2022 22:50:19 +0000 Subject: [PATCH] Fix `-genconf` --- cmd/yggdrasil/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/yggdrasil/main.go b/cmd/yggdrasil/main.go index dd1c1f20..e0571363 100644 --- a/cmd/yggdrasil/main.go +++ b/cmd/yggdrasil/main.go @@ -80,7 +80,7 @@ func main() { } case args.GenConf: // Generate a new configuration and print it to stdout. - fmt.Println(config.GenerateConfigJSON(args.ConfJSON)) + fmt.Printf("%s\n", config.GenerateConfigJSON(args.ConfJSON)) return default: // No flags were provided, therefore print the list of flags to stdout.