дзеркало
https://github.com/Hilbis/Hilbish
synced 2025-07-15 15:22:03 +00:00
fix: catch and ignore sigquit signal (closes #112)
This commit is contained in:
джерело
ae449b89eb
коміт
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 {
|
||||
|
Завантаження…
x
Посилання в новій задачі
Block a user