OpenGFW icon indicating copy to clipboard operation
OpenGFW copied to clipboard

fix: cannot trap sigkill -9

Open rfyiamcool opened this issue 1 year ago • 1 comments

summary

App cannot sigkill -9. we can trap sigterm -15, kill command send sigterm -15 signal by default.

https://en.wikipedia.org/wiki/Signal_(IPC)#SIGKILL

image

rfyiamcool avatar Mar 12 '24 10:03 rfyiamcool

According to docs, it is safe to remove os.Kill.

I've fixed this error as a part of #98 (in 3022bde).

macie avatar Mar 12 '24 11:03 macie

Many thanks for bringing this up, but it's been fixed as part of #98 so I'm closing this

tobyxdd avatar Mar 14 '24 02:03 tobyxdd

Many thanks for bringing this up, but it's been fixed as part of #98 so I'm closing this

ok 😁

rfyiamcool avatar Mar 14 '24 07:03 rfyiamcool