2015-10-20 20:38:28 +00:00
|
|
|
Index: os-prober/common.sh
|
2014-05-06 19:01:56 +00:00
|
|
|
===================================================================
|
2015-10-20 20:38:28 +00:00
|
|
|
--- os-prober.orig/common.sh
|
|
|
|
+++ os-prober/common.sh
|
2022-08-06 21:00:00 +00:00
|
|
|
@@ -336,3 +336,12 @@ linux_mount_boot () {
|
2014-05-06 19:01:56 +00:00
|
|
|
|
|
|
|
mountboot="$bootpart $mounted"
|
|
|
|
}
|
|
|
|
+
|
|
|
|
+umount() {
|
2022-08-06 21:00:00 +00:00
|
|
|
+ if ! command umount $@ 2> /dev/null; then
|
2014-05-06 19:01:56 +00:00
|
|
|
+ error "umount error, retrying after 1 sec"
|
|
|
|
+ sleep 1
|
2022-08-06 21:00:00 +00:00
|
|
|
+ command umount $@
|
2014-05-06 19:01:56 +00:00
|
|
|
+ fi
|
|
|
|
+}
|
|
|
|
+
|