From c11d339baad5854fa6e966426d93b0b212afb152 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Fri, 17 Nov 2023 20:40:44 +0900 Subject: [PATCH] Set 5 attempts to umount tmpfs --- update.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/update.py b/update.py index a754575..e9fcbf6 100755 --- a/update.py +++ b/update.py @@ -2080,8 +2080,9 @@ if __name__ == "__main__": ( "/usr/bin/env", "sudo", - "umount", - tmpfs_path, + "bash", + "-c", + f"for ((i=0; i<5; ++i)); do if umount {tmpfs_path}; then break; fi; sleep 1; done", ) ), other_state["tmpfs_chroot"],