Skip to content

Commit

Permalink
tesla-control: Fix exit code on bad config
Browse files Browse the repository at this point in the history
Exit with status code 1 if flag configuration fails.
  • Loading branch information
sethterashima committed Dec 8, 2023
1 parent ab130a4 commit a0bb9a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/tesla-http-proxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func main() {

if err != nil {
fmt.Fprintf(os.Stderr, "Failed to load credential configuration: %s\n", err)
return
os.Exit(1)
}

defer func() {
Expand Down

0 comments on commit a0bb9a8

Please sign in to comment.