~zacbrown/signal-fun

3c89396d4477456e4dc6b74ca6d9ae76307bce79 — Zac Brown 3 years ago 19637e5
Implement SIGHUP properly because I misunderstood how it worked.

Signed-off-by: Zac Brown <git@zacbrown.org>
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