mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-09 20:57:11 +00:00
74_XiaomiBTLESens: fix ssh gatttool which test
git-svn-id: https://svn.fhem.de/fhem/trunk@15916 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
03db3784ff
commit
6ba23b519c
@ -1,5 +1,8 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- bugfix: 74_XiaomiBTLESens: fix ssh gatttool which test
|
||||
- new: 74_XiaomiBTLESens: modul replace 74_XiaomiFlowerSens, add Support
|
||||
for Xiamomi Themometer/Hygrometer mit Display
|
||||
- bugfix: 42_SYSMON: Falsche Angabe von Ram free / used bei Debian Stretch
|
||||
- bugfix: 70_BRAVIA: fixed hash for space
|
||||
(application, channel, input names)
|
||||
|
@ -47,7 +47,7 @@ use JSON;
|
||||
use Blocking;
|
||||
|
||||
|
||||
my $version = "2.0.0";
|
||||
my $version = "2.0.1";
|
||||
|
||||
|
||||
|
||||
@ -442,9 +442,8 @@ 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');
|
||||
|
||||
if(-x $gatttool) {
|
||||
if(defined($gatttool) and ($gatttool)) {
|
||||
|
||||
my $cmd;
|
||||
my $loop;
|
||||
|
Loading…
x
Reference in New Issue
Block a user