From 82b82ec9c48a72857a9e0b914db9c227b6ff111e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Thu, 16 Jan 2020 14:38:24 +0100 Subject: [PATCH] fix: Properly unmount the destination partition --- circlean_fs/root_partition/opt/groomer/mount_dest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/circlean_fs/root_partition/opt/groomer/mount_dest.sh b/circlean_fs/root_partition/opt/groomer/mount_dest.sh index a1f17f2..eb68789 100755 --- a/circlean_fs/root_partition/opt/groomer/mount_dest.sh +++ b/circlean_fs/root_partition/opt/groomer/mount_dest.sh @@ -10,7 +10,7 @@ clean(){ rm -rf "${DST_MNT}/IN_PROGRESS.txt"* ${SYNC} # Write anything in memory to disk # Unmount destination - ${UMOUNT} -b "${DST_DEV}" + ${UMOUNT} -b "${DST_DEV}1" exit } @@ -37,7 +37,7 @@ check_dest_exists() { unmount_dest_if_mounted() { if /bin/mount|grep "${DST_MNT}"; then - ${UMOUNT} -b "${DST_DEV}" || true + ${UMOUNT} -b "${DST_DEV}1" || true fi }