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

c62eab
diff -up os-prober-1.58/os-probes/mounted/x86/05efi.factor-out-logger-efi-fix os-prober-1.58/os-probes/mounted/x86/05efi
c62eab
--- os-prober-1.58/os-probes/mounted/x86/05efi.factor-out-logger-efi-fix	2013-04-25 04:23:06.000000000 +0430
c62eab
+++ os-prober-1.58/os-probes/mounted/x86/05efi	2013-06-19 01:42:05.428750558 +0430
c62eab
@@ -58,7 +58,11 @@ ret=1
c62eab
 for test in /usr/lib/os-probes/mounted/efi/*; do
c62eab
 	debug "running subtest $test"
c62eab
 	if [ -f "$test" ] && [ -x "$test" ]; then
c62eab
+		# we need results of subtest in stdout
c62eab
+		orig_fd_res=$fd_result
c62eab
+		export fd_result=1
c62eab
 		entry=$("$test" "$mpoint/$efi")
c62eab
+		export fd_result=$orig_fd_res
c62eab
 		if [ -n "$entry" ]; then
c62eab
 			debug "bootloader $entry found by subtest $test"
c62eab
 			ret=0