kill -1 behaviour

Robin Farine robin.farine at terminus.org
Thu Mar 9 04:39:29 PST 2006


On Thursday March 9 2006 10:33, Giuseppe Ciotta wrote:

> So the point is that ash currently forks when executing builtins
> (in this case, kill) and this causes the shell to receive the
> signal?

Whether you use the kill built-in or the kill applet, you should be 
able to prevent your shell to be killed by doing

	trap : 15

before you send the TERM signal.

Robin


More information about the busybox mailing list