10_ZWave.pm: no ERROR: prefix for SECURE background get (Forum #130379)

git-svn-id: https://svn.fhem.de/fhem/trunk@26721 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2022-11-19 09:59:03 +00:00
parent 3d3f05333f
commit 490cf2ae70

View File

@@ -1246,7 +1246,7 @@ ZWave_SCmd($$@)
if($hash->{secInProgress} && !(@a < 2 || $a[1] eq "?")) { if($hash->{secInProgress} && !(@a < 2 || $a[1] eq "?")) {
my %h = ( T => $type, A => \@a, CL => $hash->{CL} ); my %h = ( T => $type, A => \@a, CL => $hash->{CL} );
push @{$hash->{secStack}}, \%h; push @{$hash->{secStack}}, \%h;
return ($type eq "get" ? return ($type eq "get" && $hash->{CL} ?
"Secure operation in progress, executing in background" : ""); "Secure operation in progress, executing in background" : "");
} }
return ZWave_Cmd($type, $hash, @a); return ZWave_Cmd($type, $hash, @a);