diff options
author | Dave Reisner <dreisner@archlinux.org> | 2017-03-14 15:50:26 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2017-03-14 15:50:26 +0100 |
commit | c90eb88f04c6acf621e9682172636fae3d0328ad (patch) | |
tree | 17820ef9aea7b4102634f4746d2b996bd1b900b2 /functions | |
parent | 15cab4d017c7cc46b8234bfa641fcef2b28207b6 (diff) | |
download | mkinitcpio-c90eb88f04c6acf621e9682172636fae3d0328ad.tar.gz mkinitcpio-c90eb88f04c6acf621e9682172636fae3d0328ad.tar.xz |
avoid erroring when a builtin-module can't be found
This is harmless fallout from 5249350, which tries harder to re-add
aliases of builtins.
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -390,7 +390,7 @@ add_module() { done < <(modinfo -b "$_optmoduleroot" -k "$KERNELVERSION" -0 "$target" 2>/dev/null) if (( !found )); then - (( ign_errors )) && return 0 + (( ign_errors || _addedmodules["$target"] )) && return 0 error "module not found: \`%s'" "$target" return 1 fi |