Merge pull request #1594 from JonathonHall-Purism/blob_jail_warn

initrd/bin/inject_firmware.sh: Fix warning command
This commit is contained in:
tlaurion 2024-01-19 10:37:48 -05:00 committed by GitHub
commit f877739095
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,7 +51,7 @@ done
# awk will happily pass through a binary file, so look for the match we want
# before modifying init to ensure it's a shell script and not an ELF, etc.
if ! grep -E -q '^exec run-init .*\$\{rootmnt\}' "$INITRD_ROOT/init"; then
WARN "Can't apply firmware blob jail, unknown init script"
warn "Can't apply firmware blob jail, unknown init script"
exit 0
fi