Skip to content

Commit

Permalink
Merge pull request #6638 from McGiverGim/attended_sysupgrade_fix_x86
Browse files Browse the repository at this point in the history
luci-app-attendedsysupgrade: fix search for x86 target
  • Loading branch information
jow- authored Oct 19, 2023
2 parents e41228d + 021c439 commit bc37a55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ return view.extend({
for (image of images) {
if (this.firmware.filesystem == image.filesystem) {
// x86 images can be combined-efi (EFI) or combined (BIOS)
if(this.firmware.target.indexOf("x86")) {
if(this.firmware.target.indexOf("x86") != -1) {
if (this.data.efi && image.type == 'combined-efi') {
return image;
} else if (image.type == 'combined') {
Expand Down

0 comments on commit bc37a55

Please sign in to comment.