fix macros names in disco_raid_hp_sudo
This commit is contained in:
parent
8b36956856
commit
ddcbbc85dd
|
@ -22,7 +22,7 @@ foreach my $line (<HPACUCLI>){
|
|||
die "Another instance of hpacucli is running\n";
|
||||
}
|
||||
elsif ( $line =~ m/(.*) in Slot (\d+)/i ) {
|
||||
push @{$json->{data}}, {"#MODEL" => $1, "#SLOT" => $2};
|
||||
push @{$json->{data}}, {"{#MODEL}" => $1, "{#SLOT}" => $2};
|
||||
}
|
||||
}
|
||||
close HPACUCLI;
|
||||
|
|
Loading…
Reference in New Issue
Block a user