daemon: Improve error messages when eventscript control is cancelled
authorMartin Schwenke <martin@meltin.net>
Mon, 6 Jul 2015 02:02:00 +0000 (12:02 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Thu, 16 Jul 2015 04:37:12 +0000 (14:37 +1000)
commitdaf7b5de5e57e7a6df21e2a510e40fadaf7a5fba
tree187d4e3257b2c0d6277bd0ffcbffc77867618d0e
parent64b70e26bc3973b17e681756ef9c623d83523a72
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>
(Imported from commit 122a4fda7272ec4d63452037f0b838d2bdc5a79a)
server/eventscript.c