mirror of
https://github.com/FiloSottile/age.git
synced 2026-03-11 08:55:41 +00:00
cmd/age-keygen: actually exit on errorf (#383)
Co-authored-by: Arnau Diaz <arnau.diaz@adevinta.com>
This commit is contained in:
parent
e4ae4cf884
commit
4169274d04
1 changed files with 1 additions and 0 deletions
|
|
@ -154,6 +154,7 @@ func convert(in io.Reader, out io.Writer) {
|
|||
|
||||
func errorf(format string, v ...interface{}) {
|
||||
log.Printf("age-keygen: error: "+format, v...)
|
||||
log.Fatalf("age-keygen: report unexpected or unhelpful errors at https://filippo.io/age/report")
|
||||
}
|
||||
|
||||
func warning(msg string) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue