From bc292b01f455c6ffc43a78cd2863fb1986050997 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Wed, 8 Jan 2020 03:56:18 +0100 Subject: [PATCH] change code --- 74_XiaomiBTLESens.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/74_XiaomiBTLESens.pm b/74_XiaomiBTLESens.pm index 28b9298..f432049 100644 --- a/74_XiaomiBTLESens.pm +++ b/74_XiaomiBTLESens.pm @@ -634,7 +634,7 @@ sub CreateParamGatttool($@) { sub Gatttool_executeCommand($) { my $command = join( ' ', @_ ); - ( $_ = qx{$command 2>&1}, $? >> 8 ); + return ( $_ = qx{$command 2>&1}, $? >> 8 ); } sub ExecGatttool_Run($) {