278265
Index: os-prober/common.sh
278265
===================================================================
278265
--- os-prober.orig/common.sh
278265
+++ os-prober/common.sh
278265
@@ -336,3 +336,13 @@ linux_mount_boot () {
278265
 
278265
 	mountboot="$bootpart $mounted"
278265
 }
278265
+
278265
+umount_exec=$(which umount)
278265
+umount() {
278265
+	if ! $umount_exec $@ 2> /dev/null; then
278265
+		error "umount error, retrying after 1 sec"
278265
+		sleep 1
278265
+		$umount_exec $@
278265
+	fi
278265
+}
278265
+