diff --git a/test/hookecho.go b/test/hookecho.go index 861e2658..318c6739 100644 --- a/test/hookecho.go +++ b/test/hookecho.go @@ -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)