=== modified file 'initramfs-tools-hook' --- initramfs-tools-hook 2024-11-03 15:32:05 +0000 +++ initramfs-tools-hook 2026-05-17 20:20:09 +0000 @@ -160,7 +160,7 @@ if [ -x "$hook" ]; then # Copy any files needed by the network hook MANDOSNETHOOKDIR=/etc/mandos/network-hooks.d MODE=files \ - VERBOSITY=0 "$hook" files | while read -r file target; do + VERBOSITY=0 "$hook" files | while IFS= read -r file target; do if [ ! -e "${file}" ]; then echo "WARNING: file ${file} not found, requested by Mandos network hook '${hook##*/}'" >&2 fi @@ -172,7 +172,7 @@ done # Copy and load any modules needed by the network hook MANDOSNETHOOKDIR=/etc/mandos/network-hooks.d MODE=modules \ - VERBOSITY=0 "$hook" modules | while read -r module; do + VERBOSITY=0 "$hook" modules | while IFS= read -r module; do force_load "$module" done fi