32_SYSSTAT.pm: fix for filesystem updates

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@24779 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2021-07-20 09:21:08 +00:00
parent 55f814c59d
commit fde90eb3ab

View File

@ -550,7 +550,7 @@ SYSSTAT_Parse($$$)
} elsif( $key eq '#temp1000' && $data ) {
SYSSTAT_Parse($hash, '#temp', $data/1000);
} elsif( $data && $key =~ m/#filesystems(:(.*))/ ) {
} elsif( $data && $key =~ m/#filesystems(:(.*))?/ ) {
my $cl = $2;
my %filesystems = ();
foreach my $line (split(/\n/, $data)) {