From 331c4097ff05bb2b62a88a42d350221ec4e35ebc Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 15 Jun 2024 23:00:12 +0100 Subject: trees: remove unnecessary check in copy_elf we don't need to check whether this variable is set, because checking an empty path will also cause the same return in the next line. Signed-off-by: Leah Rowe --- script/trees | 1 - 1 file changed, 1 deletion(-) diff --git a/script/trees b/script/trees index 8084dd54..d9111eb6 100755 --- a/script/trees +++ b/script/trees @@ -293,7 +293,6 @@ mkpayload_grub() copy_elf() { - [ -n "$listfile" ] || return 0 [ -f "$listfile" ] || return 0 x_ mkdir -p "$dest_dir" -- cgit v1.2.1