From 1ae615f89db7e444a996e012c3793e362946cf15 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 11 Apr 2006 16:40:50 +0000 Subject: remove the wait message prior to displaying an error message --- mdkupdate | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mdkupdate') diff --git a/mdkupdate b/mdkupdate index 82423fb8..3d24e7a2 100755 --- a/mdkupdate +++ b/mdkupdate @@ -177,6 +177,7 @@ if (!$bundle) { my $reg_host = mdkonline::soap_register_host($bundle_vars{USER}, $bundle_vars{PASS}, $hostname, ' ', lang::read()->{country}); my $res = mdkonline::check_server_response($reg_host); if ($res ne 'OK') { + undef $w; $in->ask_warn(N("Error"), N("Failed to authenticate to the bundle server:\n\n%s", $reg_host->{message})); exit(3); } @@ -193,6 +194,7 @@ if (!$bundle) { my $res = mdkonline::prepare_upload_conf($wc); if ($res ne 'OK') { + undef $w; log::explanations("we failed to be accepted by the server: $res"); $in->ask_warn(N("Error"), N("An error occurred") . "\n\n" . $res); } -- cgit v1.2.1