From: Jaroslav Kysela Date: Tue, 7 Jun 2005 07:03:37 +0000 (+0000) Subject: Two modporbe calls lack path X-Git-Tag: v1.0.10rc1~25 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=53c40736179feb591707307befe0699e9bd6b2d8;p=alsa-utils.git 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. --- diff --git a/alsaconf/alsaconf.in b/alsaconf/alsaconf.in index d11b964..afe3409 100644 --- a/alsaconf/alsaconf.in +++ b/alsaconf/alsaconf.in @@ -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