diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/bootloader.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 71a7268b2..1fd1b39a1 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -982,8 +982,7 @@ sub write_lilo { push @entry_conf, "initrd=" . $file2fullname->($_->{initrd}) if $_->{initrd}; push @entry_conf, qq(append="$_->{append}") if $_->{append}; push @entry_conf, "vga=$_->{vga}" if $_->{vga}; - push @entry_conf, "read-write" if $_->{'read-write'}; - push @entry_conf, "read-only" if !$_->{'read-write'}; + push @entry_conf, $_->{'read-write'} ? "read-write" : "read-only"; } else { push @entry_conf, "table=$_->{table}" if $_->{table}; push @entry_conf, "unsafe" if $_->{unsafe} && !$_->{table}; |