Fix an issue
This commit is contained in:
parent
ef18ccad64
commit
cca701c551
|
@ -25,7 +25,7 @@ list_dev() {
|
|||
# Enable bluetooth and scan for devices
|
||||
enable_bt() {
|
||||
bluetoothctl power on > /dev/null && printf "Power: On\n"
|
||||
bluetoothctl scan on & # Start scanning for devices
|
||||
bluetoothctl scan on # Start scanning for devices
|
||||
bluetoothctl devices | grep -q "No default controller" && printf "No Bluetooth controller was found.\n" && exit 1
|
||||
|
||||
list_dev &
|
||||
|
|
Loading…
Reference in a new issue