mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 21:43:11 +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
|
# 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.
|
# 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
|
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
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user