mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
91_watchdog.pm: tuning the NOTIFYDEV regexp (Forum #64382)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13020 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
65b6a152a8
commit
b10b91446f
@ -70,7 +70,8 @@ watchdog_Define($$)
|
|||||||
}
|
}
|
||||||
|
|
||||||
InternalTimer(1, sub($){
|
InternalTimer(1, sub($){
|
||||||
my $re = ($re1 eq "." ? "" : $re1)."|".($re2 eq "SAME" ? $re1 : $re2);
|
my $re = ($re1 eq "." ? "" : $re1).
|
||||||
|
(($re2 eq "SAME" || $re2 eq $re1) ? "" : "|$re2");
|
||||||
notifyRegexpChanged($watchdog, $re);
|
notifyRegexpChanged($watchdog, $re);
|
||||||
}, $watchdog, 0);
|
}, $watchdog, 0);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user