From 7bfb1d621fc63559dbe4cbe5e938836006d27f16 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 7 Jun 2024 12:04:28 +0100 Subject: 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(+) (limited to 'script') diff --git a/script/trees b/script/trees index 48e2b6fa..9cceeab4 100755 --- a/script/trees +++ b/script/trees @@ -291,6 +291,7 @@ mkpayload_grub() copy_elf() { + [ -n "$listfile" ] || return 0 [ -f "$listfile" ] || return 0 while read -r f; do -- cgit v1.2.1