diff options
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/drakauth | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/standalone/drakauth b/perl-install/standalone/drakauth index 74f88cdb2..939b57c0c 100755 --- a/perl-install/standalone/drakauth +++ b/perl-install/standalone/drakauth @@ -28,6 +28,11 @@ $in->ask_from('', '', any::ask_authentification_parameters($in, $netc, $authentication, $authentication_kind) or goto main; -any::set_authentication($in, $netc, $authentication, sub { my ($f) = @_; $f->() }); +eval { any::set_authentication($in, $netc, $authentication, sub { my ($f) = @_; $f->() }) }; +if (my $err = $@) { + $in->ask_warn(N("Error"), formatError($err)); + goto main; +} + $in->exit; |