From 92db4f7f8a0133d4878633796638180e25f94bd0 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 22 Jun 2004 11:01:52 +0000 Subject: oops, fix the "Continue without USB key" case --- move/move.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/move/move.pm b/move/move.pm index 85616d0ff..625a01ad8 100644 --- a/move/move.pm +++ b/move/move.pm @@ -462,7 +462,8 @@ Operating System."); cancel => N("Continue without USB key") }) or return; } - 0; + key_mount($o, 'reread'); + check_key($o); } sub install2::verifyKey { @@ -470,9 +471,7 @@ sub install2::verifyKey { log::l("automatic transparent key support is disabled"), return if $key_disabled; - while (!check_key($o)) { - key_mount($o, 'reread'); - } + check_key($o) or return; my $_wait = $using_existing_host_config || $o->wait_message(N("Setting up USB key"), N("Please wait, setting up system configuration files on USB key...")); -- cgit v1.2.1