diff --git a/contrib/tlsticketupdate.go b/contrib/tlsticketupdate.go index be3b68d5..996e8358 100644 --- a/contrib/tlsticketupdate.go +++ b/contrib/tlsticketupdate.go @@ -89,9 +89,7 @@ func main() { Expiration: int32((*interval) + 300), }) - select { - case <-time.After(time.Duration(*interval) * time.Second): - } + <-time.After(time.Duration(*interval) * time.Second) // rotate keys. the last key is now encryption key. // generate new key and append it to the last, so that