From 9f3f599bf31fd9db2cfa73494611c21480f2856a Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 5 Nov 2020 02:19:27 -0700 Subject: [PATCH] bugfix string dereference --- cmd/mgmt/mgmt.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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