Grouped /^(lpar|osi)$/ in regexp

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1103 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sakolish 2008-04-16 18:16:45 +00:00
parent bc7f030660
commit be7b2dc5bb

View File

@ -169,7 +169,7 @@ sub invoke_cmd {
# Check for valid "type"
#################################
my @types = split /,/, $ent->{nodetype};
my ($type) = grep( /^lpar|osi$/, @types );
my ($type) = grep( /^(lpar|osi)$/, @types );
if ( !defined( $type )) {
return( "Invalid node type: $ent->{nodetype}" );