From b05057d743bb313bc4c3c4ef2841e2d3c7f6a1b1 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Thu, 18 Apr 2019 20:00:37 -0700 Subject: [PATCH] Ignore errors when uncommenting boot entries * Allows using older ISOs which lack newer boot entries * Not a great idea, but it won't crash --- .bin/Scripts/functions/ufd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bin/Scripts/functions/ufd.py b/.bin/Scripts/functions/ufd.py index be341b59..c1296d44 100644 --- a/.bin/Scripts/functions/ufd.py +++ b/.bin/Scripts/functions/ufd.py @@ -391,7 +391,7 @@ def update_boot_entries(boot_entries, boot_files, iso_label, ufd_label): '"s/#{}#//"'.format(b_comment), *configs, ] - run_program(cmd) + run_program(cmd, check=False) def verify_sources(args, ufd_sources):