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
This commit is contained in:
Claude
2025-11-23 04:11:56 +00:00
parent 035950df48
commit a2136226b4
+2 -2
View File
@@ -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