From 6a83d9988a439db085b0bc1784a831a2ff221df8 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Thu, 7 Feb 2019 16:15:11 -0500 Subject: [PATCH] Simplify bluetoothctl command --- x2/src/bash/exe/khatus_sensor_bluetooth_power.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x2/src/bash/exe/khatus_sensor_bluetooth_power.sh b/x2/src/bash/exe/khatus_sensor_bluetooth_power.sh index f051e71..83c3dbb 100644 --- a/x2/src/bash/exe/khatus_sensor_bluetooth_power.sh +++ b/x2/src/bash/exe/khatus_sensor_bluetooth_power.sh @@ -4,4 +4,4 @@ set -e dir_bin="$1" -echo 'show \n quit' | bluetoothctl | "$dir_bin"/khatus_parse_bluetoothctl_show +bluetoothctl -- show | "$dir_bin"/khatus_parse_bluetoothctl_show -- 2.20.1