From 55e2c815192583a516bdc6df90d9434d39426a2d Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sat, 24 Sep 2011 05:58:11 +0000 Subject: [PATCH] re1 will always extend the watchdog git-svn-id: https://svn.fhem.de/fhem/trunk@1020 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/91_watchdog.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/91_watchdog.pm b/fhem/FHEM/91_watchdog.pm index 2b4087e45..888576661 100755 --- a/fhem/FHEM/91_watchdog.pm +++ b/fhem/FHEM/91_watchdog.pm @@ -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); }