This commit is contained in:
Devaev Maxim 2021-05-26 15:47:35 +03:00
parent e480629724
commit 854201195f

View File

@ -65,7 +65,7 @@ def _find_storage() -> _Storage:
def _remount(path: str, rw: bool) -> None:
mode = ("rw" if rw else "ro")
_log(f"Remouning {path} to {mode.upper()}-mode ...")
_log(f"Remounting {path} to {mode.upper()}-mode ...")
try:
subprocess.check_call([_MOUNT_PATH, "--options", f"remount,{mode}", path])
except subprocess.CalledProcessError as err: