From a2136226b45e5c095dedfffa90e842de04913bac Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 23 Nov 2025 04:11:56 +0000 Subject: [PATCH] Fix Bluetooth scanning bailing after device discovery The script was exiting immediately after showing "Devices found: 14" because the timeout command returns exit code 124, which caused the script to bail due to 'set -euo pipefail'. Added '|| true' to wait and bluetoothctl scan off commands to allow the script to continue executing and display the device list. install_kiosk_0.9.6-2.sh:7185-7186 --- install_kiosk_0.9.6-2.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install_kiosk_0.9.6-2.sh b/install_kiosk_0.9.6-2.sh index 6e7f747..364b7f9 100755 --- a/install_kiosk_0.9.6-2.sh +++ b/install_kiosk_0.9.6-2.sh @@ -7182,8 +7182,8 @@ addon_bluetooth() { fi done - wait $scan_pid 2>/dev/null - bluetoothctl scan off 2>/dev/null + wait $scan_pid 2>/dev/null || true + bluetoothctl scan off 2>/dev/null || true echo echo