From cb617391397e968b79197ac57e423db8f0e55664 Mon Sep 17 00:00:00 2001 From: Jonathon Hall Date: Tue, 22 Aug 2023 09:42:54 -0400 Subject: [PATCH] initrd/bin/inject_firmware.sh: Fix warning command The function is 'warn', not 'WARN'. Signed-off-by: Jonathon Hall --- initrd/bin/inject_firmware.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initrd/bin/inject_firmware.sh b/initrd/bin/inject_firmware.sh index 251d48eb..0de9e33c 100755 --- a/initrd/bin/inject_firmware.sh +++ b/initrd/bin/inject_firmware.sh @@ -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