summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-07-29 17:49:46 +0200
committerDave Reisner <dreisner@archlinux.org>2012-07-29 17:50:00 +0200
commitd7951e00f1959abd2a8cdd4c06cf3c44896c6b03 (patch)
tree965215dae35f8957aded306177a18c1dd8ed4e62
parent434c64cfaa91ae565c995691b1c71a4d007c6da8 (diff)
downloadmkinitcpio-d7951e00f1959abd2a8cdd4c06cf3c44896c6b03.tar.gz
mkinitcpio-d7951e00f1959abd2a8cdd4c06cf3c44896c6b03.tar.xz
autodetect: fix wrong flag passed to modprobe0.10
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r--install/autodetect2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/autodetect b/install/autodetect
index 20648e4..c0c7563 100644
--- a/install/autodetect
+++ b/install/autodetect
@@ -10,7 +10,7 @@ build() {
# treat this as an alias, since ext3 might be aliased to ext4.
IFS=$'\n' read -rd '' -a resolved < \
- <(modprobe -M "$MODULEROOT" -S "$KERNELVERSION" -R "$1" 2>/dev/null)
+ <(modprobe -d "$MODULEROOT" -S "$KERNELVERSION" -R "$1" 2>/dev/null)
if (( ${#resolved[*]} )); then
printf '%s\n' "${resolved[@]}" >>"$MODULE_FILE"