diff --git a/fhem/CHANGED b/fhem/CHANGED index 5f5cbe094..39beeeb2d 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,6 +1,7 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. - SVN + - bugfix: SYSMON: filesystems may be wrong on some systems - feature: new module 98_pilight.pm added (andreas-fey) - change: LUXTRONIK2: made compatible with current developer guidelines (Blocking.pm, reading update mechanism) - feature: readingsGroup: added icons and links/commands diff --git a/fhem/FHEM/42_SYSMON.pm b/fhem/FHEM/42_SYSMON.pm index 882fe22c7..e48265fb5 100644 --- a/fhem/FHEM/42_SYSMON.pm +++ b/fhem/FHEM/42_SYSMON.pm @@ -827,6 +827,7 @@ sub SYSMON_getFileSystemInfo ($$$) my @filesystems = SYSMON_execute($hash, $disk); shift @filesystems; + if (index($filesystems[0], $fs) < 0) { shift @filesystems; } # Wenn die Bezeichnung so lang ist, dass die Zeile umgebrochen wird... if (index($filesystems[0], $fs) >= 0) # check if filesystem available -> gives failure on console { my ($fs_desc, $total, $used, $available, $percentage_used, $mnt_point) = split(/\s+/, $filesystems[0]); @@ -1128,7 +1129,10 @@ sub trim($)

SYSMON