mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
10_ZWave.pm: fix error message (Forum #116064)
git-svn-id: https://svn.fhem.de/fhem/trunk@23212 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5cf6d54161
commit
99ab0b00ee
@ -1114,7 +1114,7 @@ ZWave_Cmd($$@)
|
||||
|
||||
if($cmdFmt !~ m/%s/ && $cmd !~ m/^config/) {
|
||||
for(my $i1 = 0; $i1<int(@a); $i1++) {
|
||||
return "Error: $a[$i1] is not a decimal number"
|
||||
return "Error: $a[$i1] is not an integer"
|
||||
if($a[$i1] !~ m/^[-\d]+$/);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user