mirror of
https://github.com/FiloSottile/age.git
synced 2026-01-04 03:13:57 +00:00
cmd/age: fix autogenerated password log line
The newline was dropped in 0ab5c73.
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user