From 8d5edd4f06f55036d5e8c0d8b4233f0708fbb298 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 7 Jun 2024 12:04:28 +0100 Subject: [PATCH] trees: don't check empty path in copy_elf() it could lead to some whackiness later on Signed-off-by: Leah Rowe --- script/trees | 1 + 1 file changed, 1 insertion(+) diff --git a/script/trees b/script/trees index d0fba24..b197314 100755 --- a/script/trees +++ b/script/trees @@ -289,6 +289,7 @@ mkpayload_grub() copy_elf() { + [ -n "$listfile" ] || return 0 [ -f "$listfile" ] || return 0 while read -r f; do