Skip to contentSkip to conversation

cluster/ccs/lib libccs.c

Cluster-devel [email protected] 1 participant 1 message Nov 14, 2007

lore
Share & tools
lore
#0 lore raw

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

ccs/lib/libccs.c +1 -1
@@ -199,7 +199,7 @@
         error = PF_INET;
         break;
       }
-      if(error == -ECONNREFUSED){
+      if(error == -ECONNREFUSED || error == -EACCES){
         break;
       }