mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 05:16:45 +00:00
00_TCM: logging corrected
git-svn-id: https://svn.fhem.de/fhem/trunk@11978 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3b945e13e7
commit
c8fd193a63
@ -727,7 +727,7 @@ sub TCM_Set($@)
|
||||
|
||||
my $cmdHex = $cmdhash->{cmd};
|
||||
my $argre = $cmdhash->{arg};
|
||||
my $logArg = $arg;
|
||||
my $logArg = defined($arg) ? $arg : '';
|
||||
if($argre) {
|
||||
return "Argument needed for set $name $cmd ($argre)" if (!defined($arg));
|
||||
return "Argument does not match the regexp ($argre)" if ($arg !~ m/$argre/i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user