From 645e847e0435a41397aa6a9570722ae7ba1ccb22 Mon Sep 17 00:00:00 2001 From: Michael Fornaro <20387402+xUnholy@users.noreply.github.com> Date: Wed, 1 Apr 2020 13:19:32 +1100 Subject: [PATCH] Fixing #169 race condition or the copy operation wasn't completed and disk couldn't be unmounted --- flash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flash b/flash index 788b468..49acacc 100755 --- a/flash +++ b/flash @@ -738,7 +738,7 @@ if [ -f "${boot}/occidentalis.txt" ]; then fi echo "Unmounting ${disk} ..." -sleep 1 +sleep 5 set +e detach "${disk}"