fix bug 3530839: rflash for FSP has a syntax error in FSPrflash.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12968 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
c763c84abf
commit
fe2c2ae016
@ -147,7 +147,7 @@ sub get_lic_filenames {
|
||||
# }
|
||||
} else {
|
||||
$msg = $msg . "Upgrade $mtms!";
|
||||
if($activate !~ /^(disruptive|deferred)$/ {
|
||||
if($activate !~ /^(disruptive|deferred)$/) {
|
||||
$msg = "Option --activate's value shouldn't be $activate, and it must be disruptive or deferred";
|
||||
return ("", "","", $msg, -1);
|
||||
}
|
||||
@ -332,7 +332,7 @@ sub rflash {
|
||||
$action = "code_update";
|
||||
} elsif ($activate eq "deferred") {
|
||||
$action = "code_updateD";
|
||||
} elsif (exists($activate)){
|
||||
} elsif (defined($activate)){
|
||||
#if($activate =~ /^concurrent$/) {
|
||||
my $res = "\'$activate\' option not supported in FSPflash. Please use disruptive or deferred mode";
|
||||
push @value, [$name, $res, -1];
|
||||
|
Loading…
x
Reference in New Issue
Block a user