2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 10:40:24 +00:00

defect 4500: skip the PIPE signal when call xcatd->relay_fds() to receive messages from plugin processes

This commit is contained in:
daniceexi
2014-12-29 02:47:43 -05:00
parent 24fbf6eea0
commit ad68658c3c

View File

@@ -2392,6 +2392,11 @@ sub relay_fds { #Relays file descriptors from pipes to children to the SSL socke
my $rfh;
my $rc = @readyset;
my $text;
# A PIPE signal might be received when run fd_retrieve from the plugin sub processors
# This mostly happens when there are multiple plugins are called for certain command
# So spkit the pipe error handle
$pipeexpected=1;
foreach $rfh (@readyset) { #go through each child, extract a complete, atomic message
my $line;
my $resp;