remove unnecessary error message from stdout

This commit is contained in:
Alexander Bocken 2020-07-11 19:20:20 +02:00
parent 4dc917aad7
commit ef42241838

2
bt
View File

@ -99,7 +99,7 @@ poweroption="$( echo "$powerstatus" | sed 's/yes/power off/; s/no/power on/' )"
cleanup(){ cleanup(){
scan off scan off
rm /tmp/bt_start_scan$$ rm /tmp/bt_start_scan$$ 2> /dev/null
exit 0 exit 0
} }