rc: bluetooth: startup improvements

Fix a redirect of stderr to stdout which is going to /dev/null.
A '&' got missing in the original rewrite from the review that
I took and committed.  Seems no one had noticed during testing
or review.  People may have ended up with a "/1" file in their
root file system.

Fixes:		40652f86b5
Reported by:	Vladyslav Movchan (vladislav.movchan gmail.com)
MFX after:	3 days
X-MFC:		squash
This commit is contained in:
Bjoern A. Zeeb
2025-09-01 07:26:47 +00:00
parent 016d3ec239
commit 78807c196c
+1 -1
View File
@@ -130,7 +130,7 @@ bluetooth_setup_stack()
for loop in 1 2 3
do
${hccontrol} -n ${dev}hci reset \
> /dev/null 2>1 && break
> /dev/null 2>&1 && break
if [ ${loop} -eq 3 ]
then
warn Reset failed three times, giving up.