diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-19 18:22:01 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-19 18:22:01 -0500 |
commit | 77b1df76882982016709b4d65ced0cf5673492e8 (patch) | |
tree | 4fd52d0484f85207fda00bec7095270553db6602 /tls-pem2html.go | |
parent | 6895534e0d59eae1b66a080dd390be7ee9c7db0b (diff) |
fix handleBool
Diffstat (limited to 'tls-pem2html.go')
-rw-r--r-- | tls-pem2html.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tls-pem2html.go b/tls-pem2html.go index 2dce49a..f38ab5f 100644 --- a/tls-pem2html.go +++ b/tls-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) } } |