mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:15:43 +01:00
Two modporbe calls lack path
All but two calls to modprobe in alsaconf call it with the full path. For consistency the remaining two calls should also use the full path.
This commit is contained in:
parent
734cb04e08
commit
53c4073617
1 changed files with 2 additions and 2 deletions
|
@ -753,7 +753,7 @@ ac_try_load () {
|
|||
if $lsmod | grep -q -E '^(snd-|snd_)'$1' '; then
|
||||
: ;
|
||||
else
|
||||
modprobe -r snd-$1 >/dev/null 2>&1
|
||||
/sbin/modprobe -r snd-$1 >/dev/null 2>&1
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
@ -792,7 +792,7 @@ ac_try_capture () {
|
|||
if $lsmod | grep -q -E '^(snd-|snd_)'$1' '; then
|
||||
: ;
|
||||
else
|
||||
modprobe -r snd-$1 >/dev/null 2>&1
|
||||
/sbin/modprobe -r snd-$1 >/dev/null 2>&1
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue