Merge pull request #354 from bachandi/ipmi_rigid_list

Fix rigid and limit value usage.
This commit is contained in:
Jordi Sanfeliu 2021-09-30 10:08:34 +02:00 committed by GitHub
commit 7f6d63d7b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,6 @@ sub ipmi_cgi {
}
}
@riglim = @{setup_riglim($rigid[0], $limit[0])};
$n = 0;
while($n < scalar(my @sl = split(',', $ipmi->{list}))) {
if($title) {
@ -375,6 +374,7 @@ sub ipmi_cgi {
if($title) {
push(@output, " <td>\n");
}
@riglim = @{setup_riglim($rigid[$n], $limit[$n])};
undef(@tmp);
undef(@tmpz);
undef(@CDEF);