From d41c04ab3420fea82bf74bb773b9ef382d2e2464 Mon Sep 17 00:00:00 2001 From: dbroqua Date: Tue, 17 Nov 2020 22:17:26 +0100 Subject: [PATCH] Return "none" if no headphone connected --- Bin/bluetooth_headphones_status.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Bin/bluetooth_headphones_status.sh b/Bin/bluetooth_headphones_status.sh index 7ecb9ac..a40e270 100755 --- a/Bin/bluetooth_headphones_status.sh +++ b/Bin/bluetooth_headphones_status.sh @@ -43,4 +43,6 @@ if [ ! -z ${BT_SINK} ]; then esac ;; esac +else + echo "none" fi