From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 21 Nov 2007 17:39:40 -0000 Subject: [Cluster-devel] conga/ricci/modules/cluster/clumon/src/daemon ... Message-ID: <20071121173940.14771.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: RHEL4 Changes by: rmccabe at sourceware.org 2007-11-21 17:39:39 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=RHEL4&r1=1.13.2.2&r2=1.13.2.3 --- conga/ricci/modules/cluster/clumon/src/daemon/Monitor.cpp 2007/10/10 18:10:37 1.13.2.2 +++ conga/ricci/modules/cluster/clumon/src/daemon/Monitor.cpp 2007/11/21 17:39:39 1.13.2.3 @@ -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";