From 9d2412398ad51e31048ae61f42955f04f85d292f Mon Sep 17 00:00:00 2001 From: Přemysl Janouch
Date: Thu, 4 Oct 2018 13:29:22 +0200 Subject: Go: additional small fixes --- cmd/pdf-simple-sign/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd') diff --git a/cmd/pdf-simple-sign/main.go b/cmd/pdf-simple-sign/main.go index 11aadaa..7c82786 100644 --- a/cmd/pdf-simple-sign/main.go +++ b/cmd/pdf-simple-sign/main.go @@ -64,9 +64,9 @@ func main() { die(3, "%s", err) } if pdfDocument, err = pdf.Sign(pdfDocument, key, certs); err != nil { - die(2, "error: %s", err) + die(4, "error: %s", err) } if err = ioutil.WriteFile(outputPath, pdfDocument, 0666); err != nil { - die(3, "%s", err) + die(5, "%s", err) } } -- cgit v1.2.3-70-g09d2