Simplify bluetoothctl command
[khatus.git] / x2 / src / bash / exe / khatus_sensor_bluetooth_power.sh
index f051e71..83c3dbb 100644 (file)
@@ -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
This page took 0.020096 seconds and 4 git commands to generate.