ctdb-daemon: Improve error messages when eventscript control is cancelled
commit122a4fda7272ec4d63452037f0b838d2bdc5a79a
authorMartin Schwenke <martin@meltin.net>
Mon, 6 Jul 2015 02:02:00 +0000 (6 12:02 +1000)
committerAmitay Isaacs <amitay@samba.org>
Tue, 14 Jul 2015 07:57:17 +0000 (14 09:57 +0200)
tree5091e9d3c6a11574e2dde5ad579622e1a147b5ff
parentb71d18d2dc090e99d67c6bd8552380b44f8db810
ctdb-daemon: Improve error messages when eventscript control is cancelled

Warn specifically about cancellation instead of printing a generic
error message.  Also pass back an error message for the tool - it
could just rely on the status but it already looks at the error
message.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/eventscript.c