diff options
| author | Christos Margiolis <christos@FreeBSD.org> | 2026-03-06 12:27:03 +0000 |
|---|---|---|
| committer | Christos Margiolis <christos@FreeBSD.org> | 2026-03-06 12:27:03 +0000 |
| commit | e85f221def717660c9daf4c0616dfb9cdfb75827 (patch) | |
| tree | cb630d34f0b1f323da51de82bfd9f79bc2ff55f4 | |
| parent | b15dc3ff28dbb2c3f8eec51803dbca7569439773 (diff) | |
rc: virtual_oss: Silence potential hw.snd.default_unit error
PR: 293582
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
| -rw-r--r-- | libexec/rc/rc.d/virtual_oss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rc/rc.d/virtual_oss b/libexec/rc/rc.d/virtual_oss index 42353a6c1520..d55b51463442 100644 --- a/libexec/rc/rc.d/virtual_oss +++ b/libexec/rc/rc.d/virtual_oss @@ -24,7 +24,7 @@ required_modules="cuse" configs= pidpath="/var/run/${name}" -default_unit=$(sysctl -n hw.snd.default_unit) +default_unit=$(sysctl -n hw.snd.default_unit 2> /dev/null) virtual_oss_default_args="\ -S \ -C 2 \ |
