diff --git a/ch09/pipeline.go b/ch09/pipeline.go index d497844..5f620e3 100644 --- a/ch09/pipeline.go +++ b/ch09/pipeline.go @@ -53,7 +53,7 @@ func third(in <-chan int) { func main() { if len(os.Args) != 3 { fmt.Println("Need two integer parameters!") - os.Exit(1) + return } n1, _ := strconv.Atoi(os.Args[1])