7 ms·
Not to mention the program sigkills itself before it attempts to `exit 0`...
by deafbybeheading 13y ago
Not to mention the program sigkills itself before it attempts to `exit 0`...
- alexedwards 13y agoGenuine question - can a process kill itself? The kill of go-reload was to make sure background processes get cleaned up, but I suspect one of the kill or exit in the close function is superfluous.
- justin66 13y ago> Genuine question - can a process kill itself? Sure. Send the signal, the signal handler - custom or default - handles it. This works whether the signal comes from another process or its own process.