From 2efc4fdf3618a5b5f3840764c710e6a53155460c Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Fri, 22 Dec 2023 01:17:23 +0100 Subject: [PATCH] Fix umount retry --- lmm/cli.py | 1 + lmm/overlayfs.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lmm/cli.py b/lmm/cli.py index ba1d0fd..af8f797 100644 --- a/lmm/cli.py +++ b/lmm/cli.py @@ -1,5 +1,6 @@ import os from typing import Optional +import time from lmm.config import LMMConfig from lmm.const import LMM_GAMES_PATH diff --git a/lmm/overlayfs.py b/lmm/overlayfs.py index ed7fdae..5f1b88f 100644 --- a/lmm/overlayfs.py +++ b/lmm/overlayfs.py @@ -136,7 +136,7 @@ class OverlayFSMount: print(f"Failed to clean temporary directory {self.workdir.name}") self._mounted = False - return True + return True def __del__(self): self.unmount()