Skip to content

Commit

Permalink
fixes incorrect ordering of init hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
taukakao committed Jul 9, 2024
1 parent ab8dd05 commit 5709050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes.container/usr/sbin/init.new
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ run_hooks() {
return
fi

hooks=($(find "$path" -type f 2>/dev/null))
hooks=($(find "$path" -type f 2>/dev/null | sort))

if [[ ${#hooks[@]} -eq 0 ]]; then
log "warn" "No hooks found in $path"
Expand Down

0 comments on commit 5709050

Please sign in to comment.