fhem.pl: delayedshutdown checks if already running (Forum #95819)

git-svn-id: https://svn.fhem.de/fhem/trunk@18270 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2019-01-15 18:55:21 +00:00
parent a232c97eb2
commit b4d6127ae4

View File

@@ -1720,7 +1720,7 @@ DelayedShutdown($$)
{
my ($cl, $param) = @_;
%delayedShutdowns = ();
return 1 if(keys %delayedShutdowns);
foreach my $d (sort keys %defs) {
$delayedShutdowns{$d} = 1 if(CallFn($d, "DelayedShutdownFn", $defs{$d}));
}