From 1101915a1b4afed73299c1ef18e0f7f041519909 Mon Sep 17 00:00:00 2001 From: yinle Date: Thu, 2 Jun 2011 02:15:23 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/perl/xCAT/PPC.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/lib/perl/xCAT/PPC.pm b/xCAT-server/lib/perl/xCAT/PPC.pm index e68b104c4..1c44a2834 100644 --- a/xCAT-server/lib/perl/xCAT/PPC.pm +++ b/xCAT-server/lib/perl/xCAT/PPC.pm @@ -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;