summaryrefslogtreecommitdiffstats
path: root/mdkapplet-upgrade-helper
diff options
context:
space:
mode:
authorJoão Victor Duarte Martins <jvictor@mandriva.com>2010-05-19 18:44:44 +0000
committerJoão Victor Duarte Martins <jvictor@mandriva.com>2010-05-19 18:44:44 +0000
commit3dc0493763731c788bd55c5b3eef097b741e582b (patch)
treef1feac28dcb5ca08d247ff999b00f7fede3d7e53 /mdkapplet-upgrade-helper
parentd73b3e25569892d832a5fc0a18ca57f5f372eb5f (diff)
downloadmgaonline-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-xmdkapplet-upgrade-helper4
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;
}
}