From b598e55734eac7c19f12acc70565538efb7a725d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=8D=9A=E4=BB=81?= Date: Thu, 8 Jun 2017 15:10:55 +0800 Subject: [PATCH] src/winusb: trap_exit: No need to call sync as umount, grub-install already does it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ๆž—ๅšไป --- src/winusb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/winusb b/src/winusb index c22fa21..04b1e45 100755 --- a/src/winusb +++ b/src/winusb @@ -928,12 +928,6 @@ trap_exit(){ fi fi - if [ "${current_state}" != "pre-init" ] \ - && [ "${current_state}" != "enter-init" ]; then - echo_with_color green "Synchronizing cached writes to persistent storage..." - sync - fi - if \ util_is_parameter_set_and_not_empty\ target_device; then