diff --git a/os-prober-umount-fix.patch b/os-prober-umount-fix.patch index 2f8696f..ca624d3 100644 --- a/os-prober-umount-fix.patch +++ b/os-prober-umount-fix.patch @@ -9,7 +9,7 @@ Index: os-prober-1.58/common.sh + +umount_exec=$(which umount) +umount() { -+ if ! $umount_exec $@; then ++ if ! $umount_exec $@ 2> /dev/null; then + error "umount error, retrying after 1 sec" + sleep 1 + $umount_exec $@