From mboxrd@z Thu Jan 1 00:00:00 1970 From: lhh@sourceware.org Date: 14 Nov 2007 16:51:21 -0000 Subject: [Cluster-devel] cluster/ccs/lib libccs.c Message-ID: <20071114165121.30330.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: cluster Branch: RHEL5 Changes by: lhh at sourceware.org 2007-11-14 16:51:20 Modified files: ccs/lib : libccs.c Log message: Allow ccs_connect to fail correctly if a non-root user calls it; needed for #289501 Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/ccs/lib/libccs.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.10.2.2&r2=1.10.2.3 --- cluster/ccs/lib/libccs.c 2007/10/11 05:11:26 1.10.2.2 +++ cluster/ccs/lib/libccs.c 2007/11/14 16:51:20 1.10.2.3 @@ -199,7 +199,7 @@ error = PF_INET; break; } - if(error == -ECONNREFUSED){ + if(error == -ECONNREFUSED || error == -EACCES){ break; }