summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmkinitcpio2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkinitcpio b/mkinitcpio
index 247fc81..0404ecc 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -517,11 +517,13 @@ parse_config "$_f_config"
# switch out the error handler to catch all errors
trap -- RETURN
trap '(( ++_builderrors ))' ERR
+set -o errtrace
install_modules "${!_modpaths[@]}"
# unset errtrace and trap
set +o functrace
+set +o errtrace
trap -- ERR
if [[ $_optgenimg ]]; then