-Fix potential race condition in system reboot upon install completion

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2009-09-15 17:12:51 +00:00
parent d02b8d9de8
commit 87d9af0097

View File

@ -227,13 +227,13 @@ if ($inet6support) {
node => [ $node ],
arg => [ 'next' ],
);
close($conn);
#node should be blocked, race condition may occur otherwise
#my $pid=xCAT::Utils->xfork();
#unless ($pid) { #fork off the nodeset and potential slowness
plugin_command(\%request,undef,\&build_response);
# exit(0);
#}
close($conn);
} elsif ($text =~ /installstatus/) {
my @tmpa=split(' ', $text);
for (my $i = 1; $i <= @tmpa-1; $i++) {