Browse Source

Hack sync.sh script to retry umount after a short delay if it fails.

I keep accumulated unwanted mounts because umount sometimes fails.
Andreas Kling 6 years ago
parent
commit
9fbac66a91
1 changed files with 1 additions and 3 deletions
  1. 1 3
      Kernel/sync.sh

+ 1 - 3
Kernel/sync.sh

@@ -96,6 +96,4 @@ cp -v ../Applications/Taskbar/Taskbar mnt/bin/Taskbar
 ln -s Taskbar mnt/bin/tb
 cp -v kernel.map mnt/
 sh sync-local.sh
-sync
-umount mnt
-sync
+umount mnt || ( sleep 0.5 && sync && umount mnt )