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:
parent
ae449b89eb
commit
b8e0874ab0
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user