diff options
author | Leah Rowe <leah@libreboot.org> | 2024-06-15 23:00:12 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-06-15 23:15:27 +0100 |
commit | 331c4097ff05bb2b62a88a42d350221ec4e35ebc (patch) | |
tree | d8106bf058365548a539e28fa020788379ea24f2 /script/trees | |
parent | 340eea0b1cd445feb7134eae4211f469fd6f5d2a (diff) |
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 <leah@libreboot.org>
Diffstat (limited to 'script/trees')
-rwxr-xr-x | script/trees | 1 |
1 files changed, 0 insertions, 1 deletions
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" |