summaryrefslogtreecommitdiffstats
path: root/mdkonline
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-03-28 18:42:03 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-03-28 18:42:03 +0000
commit8f2ddd56d353a8106382e29b70fd799f805b0fa2 (patch)
tree1901453bf6a6eeb5dd709e5d1fa009185315f7d8 /mdkonline
parent249eec59a7da0fbef06a09da571fafcdc22a3cb7 (diff)
downloadmgaonline-8f2ddd56d353a8106382e29b70fd799f805b0fa2.tar
mgaonline-8f2ddd56d353a8106382e29b70fd799f805b0fa2.tar.gz
mgaonline-8f2ddd56d353a8106382e29b70fd799f805b0fa2.tar.bz2
mgaonline-8f2ddd56d353a8106382e29b70fd799f805b0fa2.tar.xz
mgaonline-8f2ddd56d353a8106382e29b70fd799f805b0fa2.zip
actually display the error if account creation failed
Diffstat (limited to 'mdkonline')
-rwxr-xr-xmdkonline5
1 files changed, 3 insertions, 2 deletions
diff --git a/mdkonline b/mdkonline
index 3d3d2db2..a8f25832 100755
--- a/mdkonline
+++ b/mdkonline
@@ -176,8 +176,9 @@ my $wiz =
$in->ask_warn(N("Error"), N("Not a valid mail address!\n") . "\n\n" . $email);
return 1;
}
- if (mdkonline::create_authenticate_account('create', @info) ne 'OK') {
- $in->ask_warn(N("Error"), N("Creating account failed!"));
+ my $err = mdkonline::create_authenticate_account('create', @info);
+ if ($err ne 'OK') {
+ $in->ask_warn(N("Error"), N("Creating account failed!") . "\n\n" . $err);
return 1;
}