re1 will always extend the watchdog
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1020 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -77,6 +77,7 @@ watchdog_Notify($$)
|
|||||||
|
|
||||||
if($re1 eq $re2 || $re1 eq ".") {
|
if($re1 eq $re2 || $re1 eq ".") {
|
||||||
watchdog_Activate($ntfy);
|
watchdog_Activate($ntfy);
|
||||||
|
return "";
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$ntfy->{STATE} = "defined";
|
$ntfy->{STATE} = "defined";
|
||||||
@@ -85,7 +86,11 @@ watchdog_Notify($$)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} elsif($n =~ m/^$re1$/ || "$n:$s" =~ m/^$re1$/ || ($ln eq $n && $s eq ".")) {
|
}
|
||||||
|
|
||||||
|
if($n =~ m/^$re1$/ ||
|
||||||
|
"$n:$s" =~ m/^$re1$/ ||
|
||||||
|
($ln eq $n && $s eq ".")) {
|
||||||
watchdog_Activate($ntfy);
|
watchdog_Activate($ntfy);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user