From 7d5f94dd296509bc8df0afc273409f1c842881cb Mon Sep 17 00:00:00 2001 From: daniceexi Date: Fri, 11 Oct 2013 02:00:13 -0400 Subject: [PATCH] remove a useless line --- xCAT-server/sbin/xcatd | 1 - 1 file changed, 1 deletion(-) diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index 372b5855f..7263c8e97 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -1738,7 +1738,6 @@ sub service_connection { my $bytesread; do { $bytesread=sysread($sock,$line,65536,length($line)) } while ($bytesread); if (length($line)==0) { - if (not defined $bytesread and $! == EAGAIN) { next; } # if (not defined $bytesread and ($! == EAGAIN or $! == ECHILD)) { next; } # ECHILD makes no sense, but some platform does it last; }