summaryrefslogtreecommitdiffstats
path: root/lsinitcpio
diff options
context:
space:
mode:
Diffstat (limited to 'lsinitcpio')
-rwxr-xr-xlsinitcpio2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsinitcpio b/lsinitcpio
index 55061aa..5799b39 100755
--- a/lsinitcpio
+++ b/lsinitcpio
@@ -98,7 +98,7 @@ if (( analyze )); then
. <(decomp "$image" | bsdtar xOf - config)
explicitmod=($MODULES)
for hook in $HOOKS; do
- in_array "$hook" "${foundhooks[@]}" && hooks=("$hook")
+ in_array "$hook" "${foundhooks[@]}" && hooks+=("$hook")
done
# print results