2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 04:36:36 +00:00

re1 will always extend the watchdog

git-svn-id: https://svn.fhem.de/fhem/trunk@1020 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2011-09-24 05:58:11 +00:00
parent d1fba2d64e
commit 55e2c81519

View File

@ -77,6 +77,7 @@ watchdog_Notify($$)
if($re1 eq $re2 || $re1 eq ".") {
watchdog_Activate($ntfy);
return "";
} else {
$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);
}