Commit 90c93676 authored by zauberstuhl's avatar zauberstuhl
Browse files

Fix zombie process while upgrading ggg binary

parent 7d17c8d0
Pipeline #513 passed with stages
in 7 minutes and 40 seconds
...@@ -252,6 +252,9 @@ func main() { ...@@ -252,6 +252,9 @@ func main() {
} }
// wait for overseer to restart or terminate // wait for overseer to restart or terminate
<-state.GracefulShutdown <-state.GracefulShutdown
if err := cmd.Process.Kill(); err != nil {
fmt.Println("Cannot kill process please restart manual!", err)
}
fmt.Printf("app#%s %s exiting...\n", version, state.ID) fmt.Printf("app#%s %s exiting...\n", version, state.ID)
}, },
Fetcher: &Bintray{ Fetcher: &Bintray{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment