Blame SOURCES/os-prober-factored-logger-efi-fix.patch

a27a5b
Index: os-prober/os-probes/mounted/x86/05efi
a27a5b
===================================================================
a27a5b
--- os-prober.orig/os-probes/mounted/x86/05efi
a27a5b
+++ os-prober/os-probes/mounted/x86/05efi
a27a5b
@@ -59,7 +59,11 @@ ret=1
a27a5b
 for test in /usr/lib/os-probes/mounted/efi/*; do
a27a5b
 	debug "running subtest $test"
a27a5b
 	if [ -f "$test" ] && [ -x "$test" ]; then
a27a5b
+		# we need results of subtest in stdout
a27a5b
+		orig_fd_res=$fd_result
a27a5b
+		export fd_result=1
a27a5b
 		entry=$("$test" "$mpoint/$efi")
a27a5b
+		export fd_result=$orig_fd_res
a27a5b
 		if [ -n "$entry" ]; then
a27a5b
 			debug "bootloader $entry found by subtest $test"
a27a5b
 			ret=0