mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-19 18:56:03 +00:00
91_watchdog.pm: regexp1WontReactivate fix (Forum #60414)
git-svn-id: https://svn.fhem.de/fhem/trunk@12534 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
fba06e6863
commit
b40e12a8ef
@ -103,9 +103,12 @@ watchdog_Notify($$)
|
||||
}
|
||||
|
||||
if($n =~ m/^$re2$/ || "$n:$s" =~ m/^$re2$/) {
|
||||
my $isRe1 = ($re1 eq $re2 || $re1 eq ".");
|
||||
return if($isRe1 && $dontReAct); # 60414
|
||||
|
||||
RemoveInternalTimer($watchdog);
|
||||
|
||||
if(($re1 eq $re2 || $re1 eq ".") && !$dontReAct) {
|
||||
if($re1 eq $re2 || $re1 eq ".") {
|
||||
watchdog_Activate($watchdog);
|
||||
return "";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user