~rjarry/aerc

321593d1385dce4ad35e8ad5b2fe88e5c77761cd — Robin Jarry 7 days ago b65f564 master
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>
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/crypto/gpg/gpgbin/gpgbin.go
M lib/crypto/gpg/gpgbin/gpgbin.go => lib/crypto/gpg/gpgbin/gpgbin.go +1 -1
@@ 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: