From 3dc0493763731c788bd55c5b3eef097b741e582b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Victor=20Duarte=20Martins?= Date: Wed, 19 May 2010 18:44:44 +0000 Subject: (powerpack_auth_callback): Fixing return value, caller expects empty list if authentication fails. --- mdkapplet-upgrade-helper | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mdkapplet-upgrade-helper b/mdkapplet-upgrade-helper index 66b62a9e..82adc726 100755 --- a/mdkapplet-upgrade-helper +++ b/mdkapplet-upgrade-helper @@ -166,7 +166,7 @@ sub powerpack_auth_callback { my $in = interactive->vnew; $in->ask_warn(N('Error'), N('An error occurred') . "\n" . $profile->{message}); - goto &try_to_add_powerpack_media; + return; } # Checking rights to powerpack media... @@ -191,7 +191,7 @@ sub powerpack_auth_callback { 'subscription enabled.'), 'https://my.mandriva.com/powerpack/', ); - return undef; + return; } } -- cgit v1.2.1