diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-04-11 16:40:50 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-04-11 16:40:50 +0000 |
commit | 1ae615f89db7e444a996e012c3793e362946cf15 (patch) | |
tree | 1d4110e5f0b5d6b70b19353be303b91798960db2 | |
parent | a9e9efaca807ecdc42900358566cdf09e0bc3053 (diff) | |
download | mgaonline-1ae615f89db7e444a996e012c3793e362946cf15.tar mgaonline-1ae615f89db7e444a996e012c3793e362946cf15.tar.gz mgaonline-1ae615f89db7e444a996e012c3793e362946cf15.tar.bz2 mgaonline-1ae615f89db7e444a996e012c3793e362946cf15.tar.xz mgaonline-1ae615f89db7e444a996e012c3793e362946cf15.zip |
remove the wait message prior to displaying an error message
-rwxr-xr-x | mdkupdate | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); } |