From c0f8a821c4ac99b8143a7a30e012faaf7997acbb Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 8 Jul 2010 09:51:55 -0700 Subject: Fix install-system if not saving old image config If old image config is not being saved, the filesystem (/mnt/tmp) which caused next step (mkfs) to fail. --- scripts/install-system | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/install-system b/scripts/install-system index 4f92ca37..64e2915f 100755 --- a/scripts/install-system +++ b/scripts/install-system @@ -770,6 +770,7 @@ check_config_partition() { response=$(get_response "Yes" "Yes No Y N") if [ "$response" != "yes" ] && [ "$response" != "y" ]; then echo "OK. Config information not saved." + umount /mnt/tmp return fi -- cgit v1.2.3