summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
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 759b4833b..602a888d9 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1070,7 +1070,7 @@ sub write_lilo {
push @entry_conf, $entry->{'read-write'} ? "read-write" : "read-only";
push @entry_conf, grep { $entry->{$_} } qw(optional);
} else {
- delete $entry->{unsafe} if !$entry->{table}; #- we can't have both
+ delete $entry->{unsafe} if $entry->{table}; #- we can't have both
push @entry_conf, map { "$_=$entry->{$_}" } grep { $entry->{$_} } qw(table boot-as);
push @entry_conf, grep { $entry->{$_} } qw(unsafe master-boot);