Skip to content

Commit

Permalink
fix configtest
Browse files Browse the repository at this point in the history
  • Loading branch information
Songmu committed Dec 1, 2015
1 parent 37fd325 commit 76de115
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ func doVersion(_ []string) int {
}

func doConfigtest(argv []string) int {
conf, _ := resolveConfig(argv)
if conf == nil {
conf, otherOpts := resolveConfig(argv)
if conf == nil || otherOpts != nil {
return exitStatusError
}
return exitStatusOK
Expand Down

0 comments on commit 76de115

Please sign in to comment.