client: Return the correct status sent from the daemon
authorAmitay Isaacs <amitay@gmail.com>
Thu, 23 Jul 2015 21:39:26 +0000 (07:39 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Fri, 31 Jul 2015 03:35:01 +0000 (13:35 +1000)
commitabcf24832161d841ee9840efc40d128e1f9edd3d
treef56a31b9ef44ed24cee692f2abe5701f4b2a6bb1
parent0656c1969693b69a826ee184bb1a8b0e8c7ea9fc
client: Return the correct status sent from the daemon

If a control fails and error message is set, the returned status of the
control is always set to -1 ignoring the status passed by the daemon.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(Imported from commit 1286b02e24a521dafa7061d09fb5c21d1ebb3011)
client/ctdb_client.c