summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-04-11 16:40:50 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-04-11 16:40:50 +0000
commit1ae615f89db7e444a996e012c3793e362946cf15 (patch)
tree1d4110e5f0b5d6b70b19353be303b91798960db2
parenta9e9efaca807ecdc42900358566cdf09e0bc3053 (diff)
downloadmgaonline-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-xmdkupdate2
1 files changed, 2 insertions, 0 deletions
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);
}