thiiiink i fixed both sh THIS TIOE???

This commit is contained in:
2026-04-26 21:17:59 -06:00
parent 231aaffb47
commit 13381fd466
@@ -23,7 +23,7 @@ send_discord_webhook() {
while true; do #infinite loop
# scan for those vendor ids
blescan=$(eval "bluetoothctl -t 10 scan on | awk '{print \$3}' | grep ${vendor_ids[@]/#/ -e ^}"
blescan=$(eval "bluetoothctl -t 10 scan on | awk '{print \$3}' | grep ${vendor_ids[@]/#/ -e ^}")
# -n is if length of string is non zero
if [ -n "$blescan" ]; then
# LE detected poweroff to cryptdisk and notify