2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-01 11:13:24 +00:00

fix: catch and ignore sigquit signal (closes #112)

This commit is contained in:
TorchedSammy 2022-03-14 20:55:00 -04:00
parent ae449b89eb
commit b8e0874ab0
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

View File

@ -10,7 +10,7 @@ import (
func handleSignals() {
c := make(chan os.Signal)
signal.Notify(c, os.Interrupt, syscall.SIGWINCH, syscall.SIGUSR1, syscall.SIGUSR2)
signal.Notify(c, os.Interrupt, syscall.SIGWINCH, syscall.SIGUSR1, syscall.SIGUSR2, syscall.SIGQUIT)
for s := range c {
switch s {