The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=78807c196c9481cdd88b5ce611b488903f52fbd0
commit 78807c196c9481cdd88b5ce611b488903f52fbd0 Author: Bjoern A. Zeeb <b...@freebsd.org> AuthorDate: 2025-09-01 07:26:47 +0000 Commit: Bjoern A. Zeeb <b...@freebsd.org> CommitDate: 2025-09-01 07:26:47 +0000 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: 40652f86b5ef Reported by: Vladyslav Movchan (vladislav.movchan gmail.com) MFX after: 3 days X-MFC: squash --- libexec/rc/rc.d/bluetooth | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rc/rc.d/bluetooth b/libexec/rc/rc.d/bluetooth index 239944c73dd6..193fd969967f 100755 --- a/libexec/rc/rc.d/bluetooth +++ b/libexec/rc/rc.d/bluetooth @@ -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.