Skip to content

Commit

Permalink
Merge pull request #16 from essentialkaos/develop
Browse files Browse the repository at this point in the history
Version 1.1.1
  • Loading branch information
andyone authored Oct 12, 2016
2 parents b58e744 + 43ca4e8 commit d94d56a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (

const (
APP = "SSLScan Client"
VER = "1.1.0"
VER = "1.1.1"
DESC = "Command-line client for the SSL Labs API"
)

Expand Down Expand Up @@ -132,8 +132,11 @@ func process(args []string) {

api, err = sslscan.NewAPI()

if err != nil && arg.GetB(ARG_FORMAT) {
fmtc.Printf("{r}%s{!}\n", err.Error())
if err != nil {
if !arg.GetB(ARG_FORMAT) {
fmtc.Printf("{r}%s{!}\n", err.Error())
}

os.Exit(1)
}

Expand Down

0 comments on commit d94d56a

Please sign in to comment.