mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
90_at.pm: fix log messages (Forum #42692)
git-svn-id: https://svn.fhem.de/fhem/trunk@9589 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b22fc5cc1a
commit
64599fedd2
@ -130,15 +130,15 @@ at_Exec($)
|
||||
|
||||
return if($hash->{DELETED}); # Just deleted
|
||||
my $name = $hash->{NAME};
|
||||
Log3 $name, 5, "exec at command $name";
|
||||
|
||||
my $skip = AttrVal($name, "skip_next", undef);
|
||||
delete $attr{$name}{skip_next} if($skip);
|
||||
|
||||
my $command = SemicolonEscape($hash->{COMMAND});
|
||||
my $ret = AnalyzeCommandChain(undef, $command)
|
||||
if(!$skip && !IsDisabled($name));
|
||||
Log3 $name, 3, "$name: $ret" if($ret);
|
||||
if(!$skip && !IsDisabled($name)) {
|
||||
Log3 $name, 5, "exec at command $name";
|
||||
my $ret = AnalyzeCommandChain(undef, SemicolonEscape($hash->{COMMAND}));
|
||||
Log3 $name, 3, "$name: $ret" if($ret);
|
||||
}
|
||||
|
||||
return if($hash->{DELETED}); # Deleted in the Command
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user