Skip to content

Commit

Permalink
test: fix return value
Browse files Browse the repository at this point in the history
  • Loading branch information
bazilmarkov committed Mar 4, 2024
1 parent 6fcbeee commit 6918c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/hookecho.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func main() {
if exitCode != "" {
code, err := strconv.Atoi(exitCode)
if err != nil {
fmt.Printf("Exit code %s not an int!", code)
fmt.Printf("Exit code %s not an int!", exitCode)
os.Exit(-1)
}
os.Exit(code)
Expand Down

0 comments on commit 6918c39

Please sign in to comment.