diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index d5f1b7f3f..5ed722bb4 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -1857,7 +1857,7 @@ 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; } # last; } $flags=fcntl($sock,F_GETFL,0);