summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmkinitcpio3
1 files changed, 2 insertions, 1 deletions
diff --git a/mkinitcpio b/mkinitcpio
index 0116722..72e7ec8 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -312,7 +312,8 @@ for hook in ${HOOKS}; do
fi
parse_hook
else
- die "Hook '$hook' can not be found."
+ error "Hook '$hook' can not be found."
+ (( ++builderrors ))
fi
done