Skip to content

Commit

Permalink
fix error code
Browse files Browse the repository at this point in the history
  • Loading branch information
warrensbox committed May 6, 2021
1 parent aa84338 commit 24db808
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ func installVersion(arg string, custBinPath *string) {
lib.Install(requestedVersion, *custBinPath)
} else {
fmt.Println("The provided terraform version does not exist. Try `tfswitch -l` to see all available versions.")
os.Exit(1)
}

} else {
Expand Down

0 comments on commit 24db808

Please sign in to comment.