eventscript: fix bug when script is aborted ctdb-1.0.110
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 18 Dec 2009 03:43:09 +0000 (14:13 +1030)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 18 Dec 2009 03:48:41 +0000 (14:48 +1100)
commiteb22c34bccc8a04fcf63efa2bc48d9788709382e
tree2a54cc5f52737098e7734b19e1791a120de6b0ad
parent2c84fe393ff2b961abf77d58a371c24db5ecb93b
eventscript: fix bug when script is aborted

Another corner case when we terminate running monitor scripts to run
something else: logging can flush the output and we write to a NULL
pointer.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
server/eventscript.c