Drop a redundant select statement.

This commit is contained in:
M. J. Fromberger
2021-08-27 15:11:10 -07:00
parent 53a7533eda
commit e5db184820

View File

@@ -329,8 +329,5 @@ func verifyNotImplemented(t *testing.T, label string, f func() (bool, error)) {
func waitForInterrupt() {
ch := make(chan os.Signal, 1)
signal.Notify(ch, os.Interrupt)
select {
case <-ch:
return
}
<-ch
}