diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-02-03 23:38:10 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-02-03 23:38:10 +0000 |
commit | b3117f6040885a77c19556fd06047d31b98270d2 (patch) | |
tree | dc9e40ba633fddbf2381bbe79279dcfe194d4103 /perl-install/bootloader.pm | |
parent | 3722d4b9a92168cbacdd381d7511a0af6f89b9b7 (diff) | |
download | drakx-b3117f6040885a77c19556fd06047d31b98270d2.tar drakx-b3117f6040885a77c19556fd06047d31b98270d2.tar.gz drakx-b3117f6040885a77c19556fd06047d31b98270d2.tar.bz2 drakx-b3117f6040885a77c19556fd06047d31b98270d2.tar.xz drakx-b3117f6040885a77c19556fd06047d31b98270d2.zip |
(write_grub) allow timeout to be '0'
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 266df5ebd..07a770f49 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -1711,7 +1711,8 @@ sub write_grub { { my @conf; - push @conf, map { "$_ $bootloader->{$_}" } grep { $bootloader->{$_} } qw(timeout color password serial shade terminal viewport background foreground); + push @conf, map { "$_ $bootloader->{$_}" } grep { defined $bootloader->{$_} } qw(timeout); + push @conf, map { "$_ $bootloader->{$_}" } grep { $bootloader->{$_} } qw(color password serial shade terminal viewport background foreground); push @conf, map { $_ . ' ' . $file2grub->($bootloader->{$_}) } grep { $bootloader->{$_} } qw(gfxmenu); eval { |