[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	lhh 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;
       }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]