2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

32_SYSSTAT.pm: fix for filesystem updates

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

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)) {