add previously removed output

fix of small accident
This commit is contained in:
Michal Švamberg 2014-08-18 17:57:48 +02:00
parent 00b0626b93
commit bb03d662bc
1 changed files with 1 additions and 0 deletions

View File

@ -793,6 +793,7 @@ if("$opt{'check_type'}" eq "TEMP") {
foreach my $subkey ( keys %shelf) {
if ( $shelf{$subkey} ne "" ) {
print "$subkey->$shelf{$subkey} ";
if ( "$subkey" eq "CurrentTemp" ) {
$shelf{$subkey} =~ m/^([0-9]+)C.*$/;
$perf_temp = "$perf_temp, temp_$shelf{'ShelfNumber'}=$1";