2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-21 01:46:08 +00:00

rereadcfg STATE fix

git-svn-id: https://svn.fhem.de/fhem/trunk@1094 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2011-11-10 13:47:26 +00:00
parent b215a85e0c
commit 85f71c79c1

View File

@ -903,6 +903,7 @@ CommandRereadCfg($$)
WriteStatefile();
$reread_active=1;
$init_done = 0;
foreach my $d (keys %defs) {
my $ret = CallFn($d, "UndefFn", $defs{$d}, $d);
@ -923,6 +924,7 @@ CommandRereadCfg($$)
}
DoTrigger("global", "REREADCFG");
$init_done = 1;
$reread_active=0;
return $ret;
}
@ -1940,7 +1942,7 @@ CommandChain($$)
my $ov = $attr{global}{verbose};
my $oid = $init_done;
$init_done = 0;
$init_done = 0; # Rudi: ???
$attr{global}{verbose} = 1;
foreach my $cmd (@{$list}) {
for(my $n = 0; $n < $retry; $n++) {