mirror of
https://github.com/FiloSottile/age.git
synced 2026-01-04 03:13:57 +00:00
cmd/age-keygen: actually exit on errorf (#383)
Co-authored-by: Arnau Diaz <arnau.diaz@adevinta.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user