From b7ed0eefa19f942ab0d887ce0fc4d776f25643c5 Mon Sep 17 00:00:00 2001 From: Hedayat Vatankhah Date: Sat, 25 Oct 2014 19:30:32 +0330 Subject: [PATCH] Silence first umount try if it failed --- os-prober-umount-fix.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $@