Skip to content

Commit

Permalink
fix error condition
Browse files Browse the repository at this point in the history
  • Loading branch information
schjan committed May 6, 2020
1 parent 4ecbb14 commit 4aead10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func main() {
err := mainErr()
if errors.Is(err, errInvalidEnv) && *exitNoEks {
logf("not running on EKS, exiting\n")
} else {
} else if err != nil {
logf("%#v\n", err)
os.Exit(1)
}
Expand Down

0 comments on commit 4aead10

Please sign in to comment.