diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/pdf-simple-sign/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
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) } } |