summaryrefslogtreecommitdiff
path: root/crtsh-pem2html.go
diff options
context:
space:
mode:
Diffstat (limited to 'crtsh-pem2html.go')
-rw-r--r--crtsh-pem2html.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/crtsh-pem2html.go b/crtsh-pem2html.go
index 20953be..957e23a 100644
--- a/crtsh-pem2html.go
+++ b/crtsh-pem2html.go
@@ -22,6 +22,7 @@ func handleErr(err error, str string, a ...interface{}) {
func handleBool(ok bool, str string, a ...interface{}) {
if !ok {
fmt.Fprintf(os.Stderr, str, a...)
+ os.Exit(1)
}
}