summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-01 03:20:23 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-01 03:20:23 +0000
commitcf7189c512a48792ca16d69dcf15bc41b906554e (patch)
tree4d9a5941d30cd75c5137268c263551024b084419 /perl-install/bootloader.pm
parent9a480b0cc1f1a7689be816fcf40896b633cb0ba8 (diff)
downloaddrakx-cf7189c512a48792ca16d69dcf15bc41b906554e.tar
drakx-cf7189c512a48792ca16d69dcf15bc41b906554e.tar.gz
drakx-cf7189c512a48792ca16d69dcf15bc41b906554e.tar.bz2
drakx-cf7189c512a48792ca16d69dcf15bc41b906554e.tar.xz
drakx-cf7189c512a48792ca16d69dcf15bc41b906554e.zip
fix typo
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index cdce73c7d..1eb0734dd 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -951,7 +951,7 @@ sub write_lilo {
#- normalize: RESTRICTED is only valid if PASSWORD is set
delete $bootloader->{restricted} if !$bootloader->{password};
- if (!get_label('default', $bootloader)) {
+ if (!get_label($bootloader->{default}, $bootloader)) {
log::l("default bootloader entry $bootloader->{default} is invalid, choose another one");
$bootloader->{default} = $bootloader->{entries}[0]{label};
}