From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 21 Nov 2007 17:42:37 -0000 Subject: [Cluster-devel] conga/ricci/modules/cluster/clumon/src/daemon ... Message-ID: <20071121174237.16759.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: conga Branch: RHEL5 Changes by: rmccabe at sourceware.org 2007-11-21 17:42:36 Modified files: ricci/modules/cluster/clumon/src/daemon: Monitor.cpp Log message: Fix obvious error Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/daemon/Monitor.cpp.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.10.2.5&r2=1.10.2.6 --- conga/ricci/modules/cluster/clumon/src/daemon/Monitor.cpp 2007/10/22 19:32:07 1.10.2.5 +++ conga/ricci/modules/cluster/clumon/src/daemon/Monitor.cpp 2007/11/21 17:42:36 1.10.2.6 @@ -811,10 +811,8 @@ String ret; cman_handle_t ch = cman_init(NULL); - if (ch == NULL) { - cman_finish(ch); + if (ch == NULL) throw String("quorum not found"); - } if (cman_is_quorate(ch)) ret = "Quorate";