gpg: do not mask errors
Report errors as they are printed by gpg. Signed-off-by: Robin Jarry <robin@jarry.cc> Acked-by: Tim Culverhouse <tim@timculverhouse.com>
This commit is contained in:
parent
b65f5649c8
commit
321593d138
|
@ -46,7 +46,7 @@ func parseError(s string) error {
|
|||
return errors.New(line)
|
||||
}
|
||||
}
|
||||
return errors.New("unknown gpg error")
|
||||
return errors.New(strings.Join(lines, ", "))
|
||||
}
|
||||
|
||||
// fields returns the field name from --status-fd output. See:
|
||||
|
|
Loading…
Reference in New Issue