diff --git a/cmd/mgmt/mgmt.go b/cmd/mgmt/mgmt.go index 300c730..5f8e264 100644 --- a/cmd/mgmt/mgmt.go +++ b/cmd/mgmt/mgmt.go @@ -104,7 +104,11 @@ func main() { defer store.Close() go func() { - http.ListenAndServe(":"+challengesPort, routeStatic()) + fmt.Println("Listening for ACME challenges on :" + *challengesPort) + if err := http.ListenAndServe(":"+*challengesPort, routeStatic()); nil != err { + log.Fatal(err) + os.Exit(1) + } }() bind := *addr + ":" + *port