mirror of https://github.com/hak5/overseer.git
avoid blocking USR1 from slave (#32)
parent
9891188db5
commit
ce90558466
|
@ -118,7 +118,7 @@ func (mp *master) setupSignalling() {
|
||||||
func (mp *master) handleSignal(s os.Signal) {
|
func (mp *master) handleSignal(s os.Signal) {
|
||||||
if s == mp.RestartSignal {
|
if s == mp.RestartSignal {
|
||||||
//user initiated manual restart
|
//user initiated manual restart
|
||||||
mp.triggerRestart()
|
go mp.triggerRestart()
|
||||||
} else if s.String() == "child exited" {
|
} else if s.String() == "child exited" {
|
||||||
// will occur on every restart, ignore it
|
// will occur on every restart, ignore it
|
||||||
} else
|
} else
|
||||||
|
|
Loading…
Reference in New Issue