From be7b2dc5bb2a158f3b24459564f79cec09095ae8 Mon Sep 17 00:00:00 2001 From: sakolish Date: Wed, 16 Apr 2008 18:16:45 +0000 Subject: [PATCH] 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 --- xCAT-server-2.0/share/xcat/cons/hmc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server-2.0/share/xcat/cons/hmc b/xCAT-server-2.0/share/xcat/cons/hmc index 8b18abf2d..5e09aede6 100644 --- a/xCAT-server-2.0/share/xcat/cons/hmc +++ b/xCAT-server-2.0/share/xcat/cons/hmc @@ -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}" );