Skip to contentSkip to conversation

cluster/fence/fenced main.c

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

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: rmccabe at sourceware.org 2007-10-01 16:32:26

Modified files:
fence/fenced : main.c

Log message:

	Fix 314091

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/fenced/main.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.38.2.3&r2=1.38.2.4

fence/fenced/main.c +4 -1
@@ -459,8 +459,11 @@
 
 	for (;;) {
 		rv = poll(pollfd, maxi + 1, -1);
-		if (rv < 0)
+		if (rv < 0) {
+			if (errno == EINTR)
+				continue;
 			break;
+		}
 
 		/* client[0] is listening for new connections */