Skip to content

Commit

Permalink
init: typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sighook committed Oct 30, 2023
1 parent 4af9e9d commit dc23adb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ run_hook() {
# https://www.shellcheck.net/wiki/SC1090
# shellcheck disable=SC1090
for _HOOK in $hooks; do
if [ -f "/usr/share/mkinitramfs/hooks/$_HOOK/$_HOOK.$_TYPE" ]; then
. "/usr/share/mkinitramfs/hooks/$_HOOK/$_HOOK.$_TYPE"
if [ -f "/usr/share/mkinitramfs/hooks/$_HOOK/$_HOOK.$_HOOKTYPE" ]; then
. "/usr/share/mkinitramfs/hooks/$_HOOK/$_HOOK.$_HOOKTYPE"
fi
done
}
Expand Down

0 comments on commit dc23adb

Please sign in to comment.