2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +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:
rudolfkoenig 2014-08-20 11:51:27 +00:00
parent 303053491c
commit eec8a08c36

View File

@ -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 /);