From 1d3e1387ecac5083c311f199db0449c29f076fdc Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Wed, 17 Jan 2018 16:39:47 +0100 Subject: [PATCH] fix ssh error --- 74_XiaomiBTLESens.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/74_XiaomiBTLESens.pm b/74_XiaomiBTLESens.pm index 9f98652..0813e7f 100644 --- a/74_XiaomiBTLESens.pm +++ b/74_XiaomiBTLESens.pm @@ -442,7 +442,7 @@ sub XiaomiBTLESens_ExecGatttool_Run($) { $gatttool = qx(which gatttool) if($sshHost eq 'none'); $gatttool = qx(ssh $sshHost 'which gatttool') if($sshHost ne 'none'); chomp $gatttool; - $gatttool = "ssh $sshHost \'$gatttool\'" if($sshHost ne 'none'); + Log3 $name, 3, "XiaomiBTLESens ($name) - Gatttool ist: $gatttool"; if(-x $gatttool) {