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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user