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:
parent
bc7f030660
commit
be7b2dc5bb
@ -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}" );
|
||||
|
Loading…
Reference in New Issue
Block a user