Fix test in lsinitrd
If $uefi is empty, this evaluated to true previously, resulting in "initrd in UEFI: : 13M".master
parent
cb9e6881dd
commit
32dfd41688
|
@ -206,7 +206,7 @@ if [ "$bin" = "MZ" ]; then
|
|||
fi
|
||||
|
||||
if (( ${#filenames[@]} <= 0 )) && [[ -z "$unpack" ]] && [[ -z "$unpackearly" ]]; then
|
||||
if [ -n $uefi ]; then
|
||||
if [ -n "$uefi" ]; then
|
||||
echo -n "initrd in UEFI: $uefi: "
|
||||
du -h $image | while read a b || [ -n "$a" ]; do echo $a;done
|
||||
if [ -f "$TMPDIR/osrel.txt" ]; then
|
||||
|
|
Loading…
Reference in New Issue