summaryrefslogtreecommitdiffstats
path: root/mdkupdate
diff options
context:
space:
mode:
Diffstat (limited to 'mdkupdate')
-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);
}