mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-10 08:04:00 +00:00
32_SYSSTAT.pm: fixed uninitialized value warning
git-svn-id: https://svn.fhem.de/fhem/trunk@7484 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
63db797091
commit
2661c359f8
@ -459,7 +459,7 @@ SYSSTAT_readOIDs($$)
|
||||
|
||||
my @snmpoids = ();
|
||||
my @nextid = keys %$response;
|
||||
while ( $snmpoids && $nextid[0] =~ m/^$snmpoids/ ) {
|
||||
while ( @nextid && $nextid[0] && $nextid[0] =~ m/^$snmpoids/ ) {
|
||||
push( @snmpoids, $nextid[0] );
|
||||
|
||||
$response = $hash->{session}->get_next_request( $nextid[0] );
|
||||
|
Loading…
x
Reference in New Issue
Block a user