This commit is contained in:
Cadey Ratio 2018-01-20 09:42:21 -08:00
parent 841ae6e2b9
commit ec7e506d23
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ import (
"context" "context"
"crypto/tls" "crypto/tls"
"flag" "flag"
"fmt"
"math/rand" "math/rand"
"net" "net"
"net/http" "net/http"
@ -68,7 +69,7 @@ func main() {
<-ctx.Done() <-ctx.Done()
signal.Reset(os.Interrupt) signal.Reset(os.Interrupt)
fmt.Printlf("%s is now waiting for final shutdown, press ^C again to kill it now\n", os.Args[0]) fmt.Printf("%s is now waiting for final shutdown, press ^C again to kill it now\n", os.Args[0])
time.Sleep(30 * time.Second) time.Sleep(30 * time.Second)
} }