mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
eventType: avoid error message for empty files (Forum #26330)
git-svn-id: https://svn.fhem.de/fhem/trunk@6428 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
303053491c
commit
eec8a08c36
@ -37,6 +37,7 @@ eventTypes_Define($$)
|
||||
|
||||
my ($err, @content) = FileRead($f);
|
||||
foreach my $l (@content) {
|
||||
next if(!defined($l));
|
||||
next if($l =~ m/ CULHM (SND|RCV) /);
|
||||
next if($l =~ m/ UNKNOWNCODE /);
|
||||
next if($l =~ m/^\d+ global /);
|
||||
|
Loading…
x
Reference in New Issue
Block a user