diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-08 09:51:55 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-08 09:51:55 -0700 |
commit | c0f8a821c4ac99b8143a7a30e012faaf7997acbb (patch) | |
tree | 0650565a9c26a2a085bc8165c1df1a5bc0962649 /scripts/install-system | |
parent | 34b8c4ad8185e96239c47bbbf7487d26e9b4c79d (diff) | |
download | vyatta-cfg-system-c0f8a821c4ac99b8143a7a30e012faaf7997acbb.tar.gz vyatta-cfg-system-c0f8a821c4ac99b8143a7a30e012faaf7997acbb.zip |
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.
Diffstat (limited to 'scripts/install-system')
-rwxr-xr-x | scripts/install-system | 1 |
1 files changed, 1 insertions, 0 deletions
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 |