mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
initrd/bin/inject_firmware.sh: Fix warning command
The function is 'warn', not 'WARN'. Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
This commit is contained in:
parent
cb518e4f1b
commit
cb61739139
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user