mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
output
This commit is contained in:
parent
c09f4da192
commit
227871c12c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user