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

I keep accumulated unwanted mounts because umount sometimes fails.
This commit is contained in:
Andreas Kling 2019-04-05 16:26:29 +02:00
commit 9fbac66a91
Notes: sideshowbarker 2024-07-19 14:48:46 +09:00

View file

@ -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 )