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.