[Cluster-devel] cluster/ccs/lib libccs.c

lhh at sourceware.org lhh at sourceware.org
Wed Nov 14 16:51:21 UTC 2007


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;
       }
 




More information about the Cluster-devel mailing list