trees: don't check empty path in copy_elf()

it could lead to some whackiness later on

Signed-off-by: Leah Rowe <leah@libreboot.org>
20240612_branch
Leah Rowe 2024-06-07 12:04:28 +01:00
parent 0b7566cb78
commit 7bfb1d621f
1 changed files with 1 additions and 0 deletions

View File

@ -291,6 +291,7 @@ mkpayload_grub()
copy_elf()
{
[ -n "$listfile" ] || return 0
[ -f "$listfile" ] || return 0
while read -r f; do