minor fix

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9323 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2011-04-15 04:57:49 +00:00
parent e2b08db5bb
commit 528b9fd1bb

View File

@ -1742,7 +1742,7 @@ sub process_request {
#print Dumper(\@failed_nodes);
my $hcps = getHCPsOfNodes(\@failed_nodes, $callback);
if ($request->{command} eq "mkhwconn" ) {
if ( grep ("-s", @$request{arg}) ) {
if ( grep (/^-s$/, @$request{arg}) ) {
my $ppctab = xCAT::Table->new('ppc');
my %newhcp;
if ( $ppctab ) {