Fix a mistake that rspconfig --resetnet should not fork in PPC.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9727 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
dfe91b09a9
commit
1101915a1b
@ -450,6 +450,8 @@ sub process_command {
|
||||
|
||||
$nodes = $remain_node;
|
||||
}
|
||||
} elsif ( $request->{command} =~ /^rspconfig$/&& exists( $request->{opt}->{resetnet} ) ) {
|
||||
runcmd( $request );
|
||||
} else {
|
||||
$SIG{CHLD} = sub { while (waitpid(-1, WNOHANG) > 0) { $children--; } };
|
||||
my $hw;
|
||||
|
Loading…
x
Reference in New Issue
Block a user