From 6e48120e2b3671f59b11fd9dfeafd74942535014 Mon Sep 17 00:00:00 2001 From: Lionel Sambuc Date: Thu, 31 Dec 2015 18:41:27 +0100 Subject: [PATCH] Fix umount order in setup.sh Change-Id: Ife0c36b0fdc70e4b7ae86278d0df8d6d00d19df4 --- minix/commands/setup/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minix/commands/setup/setup.sh b/minix/commands/setup/setup.sh index d309b7a36..b4e54c38e 100644 --- a/minix/commands/setup/setup.sh +++ b/minix/commands/setup/setup.sh @@ -298,9 +298,9 @@ done # while step3 != ok root=${primary}s0 home=${primary}s1 usr=${primary}s2 -umount /dev/$root 2>/dev/null && echo "Unmounted $root for you." umount /dev/$home 2>/dev/null && echo "Unmounted $home for you." umount /dev/$usr 2>/dev/null && echo "Unmounted $usr for you." +umount /dev/$root 2>/dev/null && echo "Unmounted $root for you." devsizemb="`expr $devsize / 1024 / 2`" maxhome="`expr $devsizemb - $TOTALMB - 1`" -- 2.44.0