From 7d8400c34d05a720f500db0ec241775242f93b3f Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Mon, 16 Jan 2012 13:17:43 -0700 Subject: [PATCH] Remove unchecked coverity error Signed-off-by: Steven Dake Reviewed-by: Angus Salkeld --- tools/corosync-notifyd.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/corosync-notifyd.c b/tools/corosync-notifyd.c index 39c447c5..190239e1 100644 --- a/tools/corosync-notifyd.c +++ b/tools/corosync-notifyd.c @@ -372,7 +372,11 @@ _cs_quorum_init(void) quorum_fd_get(quorum_handle, &fd); qb_loop_poll_add(main_loop, QB_LOOP_MED, fd, POLLIN|POLLNVAL, NULL, _cs_quorum_dispatch); - quorum_trackstart(quorum_handle, CS_TRACK_CHANGES); + rc = quorum_trackstart(quorum_handle, CS_TRACK_CHANGES); + if (rc != CS_OK) { + qb_log(LOG_ERR, "Could not start tracking"); + return; + } } static void