summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2010-01-26 12:01:44 -0800
committerBob Gilligan <gilligan@vyatta.com>2010-01-26 12:01:44 -0800
commita753a78ad8a3278e1093c0fc427d834883b010cf (patch)
tree566536b1272309555f8c2ce67a36a60e11956264
parenta2029cb9073ea4d89a0b50f8c9f833c97daebc80 (diff)
downloadvyatta-cfg-system-a753a78ad8a3278e1093c0fc427d834883b010cf.tar.gz
vyatta-cfg-system-a753a78ad8a3278e1093c0fc427d834883b010cf.zip
Bugfix 5232: Correctly handle case where user doesn't want to save SSH keys
-rwxr-xr-xscripts/install/install-get-partition1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition
index cc1c229b..a71704af 100755
--- a/scripts/install/install-get-partition
+++ b/scripts/install/install-get-partition
@@ -488,6 +488,7 @@ save_image_keys() {
response=$(get_response "Yes" "Yes No Y N")
if [ "$response" != "yes" ] && [ "$response" != "y" ]; then
echo "OK. SSH keys not saved."
+ return
fi
mkdir -p /mnt/ssh