From 227871c12c57ecc5ff6d4075ea59a7dc9eca3dd3 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Sat, 7 Jan 2023 15:07:34 -0500 Subject: [PATCH] output --- .../security-misc/cold-boot-attack-defense-kexec-prepare | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/libexec/security-misc/cold-boot-attack-defense-kexec-prepare b/usr/libexec/security-misc/cold-boot-attack-defense-kexec-prepare index 48dc3e6..13b2224 100755 --- a/usr/libexec/security-misc/cold-boot-attack-defense-kexec-prepare +++ b/usr/libexec/security-misc/cold-boot-attack-defense-kexec-prepare @@ -15,12 +15,12 @@ kernel=$(echo "$cmdline" | grep -o 'BOOT_IMAGE=\S*' | cut -d '=' -f 2) initrd=$(echo "$kernel" | sed "s#vmlinuz#initrd.img#") if ! test -e "$initrd"; then - echo "$0: ERROR: Initrd File NOT FOUND" + echo "$0: ERROR: Initrd File '$initrd' NOT FOUND!" exit 1 fi if ! test -e "$kernel"; then - echo "$0: ERROR: Kernel File NOT FOUND" + echo "$0: ERROR: Kernel File '$kernel' NOT FOUND!" exit 1 fi