Archived
1 parent
7236d56731
commit
5605877625
1 file changed
+1
-1
@@ -127,7 +127,7 @@ func monitorMain(runtimeOptions RuntimeOptions) {
|
|||||||
select {
|
select {
|
||||||
case s := <-stopSign:
|
case s := <-stopSign:
|
||||||
l.Infof("Signal %d received; exiting", s)
|
l.Infof("Signal %d received; exiting", s)
|
||||||
cmd.Process.Kill()
|
cmd.Process.Signal(sigTerm)
|
||||||
<-exit
|
<-exit
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user