2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

fhem.pl: fix the last fix (Forum #115934)

git-svn-id: https://svn.fhem.de/fhem/trunk@23179 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2020-11-18 18:02:38 +00:00
parent 036ea28371
commit c0371fc2cc

View File

@ -3108,8 +3108,8 @@ CommandSetstate($$)
my @rets;
foreach my $sdev (devspec2array($a[0],$cl)) {
if(!defined($defs{$sdev}) && $init_done) { # 115934
push @rets, "Please define $sdev first";
if(!defined($defs{$sdev})) {
push @rets, "Please define $sdev first" if($init_done); # 115934
next;
}