cmd/age: fix autogenerated password log line

The newline was dropped in 0ab5c73.
This commit is contained in:
Filippo Valsorda
2022-07-12 19:22:01 +02:00
parent f66877cfa5
commit e41463e117

View File

@@ -112,7 +112,7 @@ func withTerminal(f func(in, out *os.File) error) error {
func printfToTerminal(format string, v ...interface{}) error {
return withTerminal(func(_, out *os.File) error {
_, err := fmt.Fprintf(out, "age: "+format, v...)
_, err := fmt.Fprintf(out, "age: "+format+"\n", v...)
return err
})
}