1 files changed, 2 insertions(+), 2 deletions(-)
M main.go
M main.go => main.go +2 -2
@@ 26,8 26,8 @@ runloop:
fmt.Println("breaking for SIGINT")
break runloop
case syscall.SIGHUP:
- fmt.Println("breaking for SIGHUP")
- break runloop
+ fmt.Println("reloading and continuing for SIGHUP")
+ continue runloop
case syscall.SIGKILL:
fmt.Println("breaking for SIGKILL")
break runloop