image.py: correct umount cmd

This commit is contained in:
InsanePrawn 2022-02-04 04:15:17 +01:00
parent 00c61844e7
commit 531845f176

View file

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