-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:
parent
d02b8d9de8
commit
87d9af0097
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user