From 70c6ceac877d711cda004411c893fe18638b2f6a Mon Sep 17 00:00:00 2001 From: jjhua Date: Fri, 17 Jun 2011 14:47:34 +0000 Subject: [PATCH] fixed the defect 3316625, remove the improper check condition git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/PPCrflash.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/perl-xCAT/xCAT/PPCrflash.pm b/perl-xCAT/xCAT/PPCrflash.pm index 4ca29813b..3e0dcde3a 100644 --- a/perl-xCAT/xCAT/PPCrflash.pm +++ b/perl-xCAT/xCAT/PPCrflash.pm @@ -272,11 +272,11 @@ sub noderange_validate { my $exargs=$request->{arg}; #my $t = print_var($exargs, "exargs"); #print $t; - if ( grep(/commit/,@$exargs) != 0 || grep(/recover/,@$exargs) != 0) { - send_msg( $request, 1, "When run \"rflash\" with the \"commit\" or \"recover\" operation, the noderange cannot be BPA and can only be CEC or LPAR."); - send_msg( $request, 1, "And then, it will do the operation for both managed systems and power subsystems."); - return -1; - } + #if ( grep(/commit/,@$exargs) != 0 || grep(/recover/,@$exargs) != 0) { + # send_msg( $request, 1, "When run \"rflash\" with the \"commit\" or \"recover\" operation, the noderange cannot be BPA and can only be CEC or LPAR."); + # send_msg( $request, 1, "And then, it will do the operation for both managed systems and power subsystems."); + # return -1; + # } } }