From b30faa9679d16664a313ef6dfebf922fac9df97f Mon Sep 17 00:00:00 2001 From: yinle Date: Tue, 21 Jun 2011 06:48:18 +0000 Subject: [PATCH] Support mkhwconn -s with or without hmc specified. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9870 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPconn.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/FSPconn.pm b/perl-xCAT/xCAT/FSPconn.pm index deb99f95c..4d257cc85 100644 --- a/perl-xCAT/xCAT/FSPconn.pm +++ b/perl-xCAT/xCAT/FSPconn.pm @@ -56,7 +56,7 @@ sub mkhwconn_parse_args $Getopt::Long::ignorecase = 0; Getopt::Long::Configure( "bundling" ); - if ( !GetOptions( \%opt, qw(V|verbose h|help t s T=s p=s P=s port=s) )) { + if ( !GetOptions( \%opt, qw(V|verbose h|help t s:s T=s p=s P=s port=s ) )) { return( usage() ); } @@ -177,7 +177,7 @@ sub mkhwconn_parse_args if ( $nodetype eq 'frame') { my $my_frame_bpa_cec = xCAT::DBobjUtils::getcecchildren( $node) ; - push @frame_members, @$my_frame_bpa_cec; + push @frame_members, @$my_frame_bpa_cec if($my_frame_bpa_cec); push @frame_members, $node; }