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>audit2-merge1
parent
c1176bbd28
commit
8d5edd4f06
|
@ -289,6 +289,7 @@ mkpayload_grub()
|
|||
|
||||
copy_elf()
|
||||
{
|
||||
[ -n "$listfile" ] || return 0
|
||||
[ -f "$listfile" ] || return 0
|
||||
|
||||
while read -r f; do
|
||||
|
|
Loading…
Reference in New Issue