mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
fhem.pl: ignore setstate errors at startup (Forum #115934)
git-svn-id: https://svn.fhem.de/fhem/trunk@23177 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
198720a019
commit
83df90dee4
@ -3108,7 +3108,7 @@ CommandSetstate($$)
|
||||
|
||||
my @rets;
|
||||
foreach my $sdev (devspec2array($a[0],$cl)) {
|
||||
if(!defined($defs{$sdev})) {
|
||||
if(!defined($defs{$sdev}) && $init_done) { # 115934
|
||||
push @rets, "Please define $sdev first";
|
||||
next;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user