From 531845f17617562f7aede36bccf758b9b9ddc6a2 Mon Sep 17 00:00:00 2001 From: InsanePrawn Date: Fri, 4 Feb 2022 04:15:17 +0100 Subject: [PATCH] image.py: correct umount cmd --- image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image.py b/image.py index 63b4168..1a3e3c1 100644 --- a/image.py +++ b/image.py @@ -330,7 +330,7 @@ def cmd_build(profile_name: str = None, build_pkgs: bool = True): chroot.deactivate() logging.debug(f'Unmounting rootfs at "{chroot.path}"') - res = run(['umount', chroot.path, '&&', 'sync']) + res = run(['umount', chroot.path]) logging.debug(f'rc: {res.returncode}') logging.info(f'Done! Image saved to {image_path}')