summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions b/functions
index ac0617c..7581933 100644
--- a/functions
+++ b/functions
@@ -95,8 +95,8 @@ auto_modules() {
# Perform auto detection of modules via sysfs.
IFS=$'\n' read -rd '' -a mods < \
- <(find /sys/devices -name modalias -exec sort -zu {} + |
- xargs -0 modprobe -d "$BASEDIR" -aRS "$KERNELVERSION" |
+ <(find /sys/devices -name modalias -exec sort -u {} + |
+ xargs modprobe -d "$BASEDIR" -aRS "$KERNELVERSION" |
sort -u)
printf "%s\n" "${mods[@]//-/_}"