From: "Fabio M. Di Nitto" <fdinitto@xxxxxxxxxx> Signed-off-by: Fabio M. Di Nitto <fdinitto@xxxxxxxxxx> --- :100644 100644 0c4ec6f... 52ae562... M test/testquorum.c test/testquorum.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/test/testquorum.c b/test/testquorum.c index 0c4ec6f..52ae562 100644 --- a/test/testquorum.c +++ b/test/testquorum.c @@ -55,7 +55,10 @@ int main(int argc, char *argv[]) printf("-------------------\n"); while (1) - quorum_dispatch(g_handle, CS_DISPATCH_ALL); + if (quorum_dispatch(g_handle, CS_DISPATCH_ALL) != CS_OK) { + fprintf(stderr, "Error from quorum_dispatch\n"); + return -1; + } return 0; } -- 1.7.7.6 _______________________________________________ discuss mailing list discuss@xxxxxxxxxxxx http://lists.corosync.org/mailman/listinfo/discuss