Skip to content

Commit 5709050

Browse files
committed
fixes incorrect ordering of init hooks
1 parent ab8dd05 commit 5709050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes.container/usr/sbin/init.new

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ run_hooks() {
3333
return
3434
fi
3535

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

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

0 commit comments

Comments
 (0)