From 53c40736179feb591707307befe0699e9bd6b2d8 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 7 Jun 2005 07:03:37 +0000 Subject: [PATCH] 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. --- alsaconf/alsaconf.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3