diff options
author | João Victor Duarte Martins <jvictor@mandriva.com> | 2010-05-19 18:44:44 +0000 |
---|---|---|
committer | João Victor Duarte Martins <jvictor@mandriva.com> | 2010-05-19 18:44:44 +0000 |
commit | 3dc0493763731c788bd55c5b3eef097b741e582b (patch) | |
tree | f1feac28dcb5ca08d247ff999b00f7fede3d7e53 /mdkapplet-upgrade-helper | |
parent | d73b3e25569892d832a5fc0a18ca57f5f372eb5f (diff) | |
download | mgaonline-3dc0493763731c788bd55c5b3eef097b741e582b.tar mgaonline-3dc0493763731c788bd55c5b3eef097b741e582b.tar.gz mgaonline-3dc0493763731c788bd55c5b3eef097b741e582b.tar.bz2 mgaonline-3dc0493763731c788bd55c5b3eef097b741e582b.tar.xz mgaonline-3dc0493763731c788bd55c5b3eef097b741e582b.zip |
(powerpack_auth_callback): Fixing return value, caller expects empty
list if authentication fails.
Diffstat (limited to 'mdkapplet-upgrade-helper')
-rwxr-xr-x | mdkapplet-upgrade-helper | 4 |
1 files 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; } } |