kubexit icon indicating copy to clipboard operation
kubexit copied to clipboard

Test process exists before signaling

Open n1koo opened this issue 4 years ago • 0 comments

Didn't realise to keep the error on this one unfortunately but this change fixes an edgecase where eg. Kubernetes signals the process to exit but its already gone at that point.

Using signal 0 means we just test if the process is still there and then when can proceed to give pipe in the actual signal we go

n1koo avatar Oct 26 '20 13:10 n1koo