Either when it exits with a signal, or sends an error status message. Then we make test_lightningd.py use it. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>