SHA256
1
0
forked from pool/syslinux
syslinux/syslinux-4.04-isohybrid_efi_optional.diff

16 lines
433 B
Diff

diff --git a/utils/isohybrid.c b/utils/isohybrid.c
index 7638bc0..09f4520 100644
--- a/utils/isohybrid.c
+++ b/utils/isohybrid.c
@@ -1028,7 +1028,9 @@ main(int argc, char *argv[])
errx(1, "%s: invalid efi catalogue", argv[0]);
}
} else {
- errx(1, "%s: unable to find efi image", argv[0]);
+ fprintf(stderr, "%s: warning: unable to find efi image\n", argv[0]);
+ mode &= ~EFI;
+ part_efi = 0;
}
}