Close some filehandles that aren't needed

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-05-22 21:11:14 +00:00
parent 427737b125
commit 7cae464cba

View File

@ -1453,11 +1453,13 @@ sub dispatch_request {
$dispatch_children++;
$dispatched_children{$child}=1;
$child_fdset->add($pfd);
close($parfd);
next;
}
unless (defined $child) {
$dispatch_cb->({error=>['Fork failure dispatching request'],errorcode=>[1]});
}
close($pfd);
$SIG{CHLD}='DEFAULT';
$dispatch_parentfd = $parfd;
my @prexcatdests=();