From 509a9ab771ac22f056f533726f70b44dbe8ebf2e Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Thu, 18 Oct 2018 11:52:49 +0200 Subject: [PATCH] fix typo --- 74_XiaomiBTLESens.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/74_XiaomiBTLESens.pm b/74_XiaomiBTLESens.pm index e70b3a4..0e092da 100644 --- a/74_XiaomiBTLESens.pm +++ b/74_XiaomiBTLESens.pm @@ -460,7 +460,7 @@ sub XiaomiBTLESens_ExecGatttool_Run($) { my $sshHost = AttrVal($name,"sshHost","none"); my $hci = AttrVal($name,"hciDevice","hci0"); - $cmd = "ssh $sshHost '" if($sshHost ne 'none'); + $cmd .= "ssh $sshHost '" if($sshHost ne 'none'); $cmd .= "timeout 10 " if($listen); $cmd .= "gatttool -i $hci -b $mac "; $cmd .= "--char-read -a $handle" if($gattCmd eq 'read');