summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/bootloader.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 809d666b8..74cc95870 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -536,10 +536,11 @@ wait %d seconds for default boot.
type => 'other',
kernel_or_dev => "/dev/$_->{device}",
label => $label . ($nbs{$label}++ ? $nbs{$label} : ''),
- if_($_->{device} =~ /[1-4]$/,
+ $_->{device} =~ /[1-4]$/ ? (
table => "/dev/$_->{rootDevice}"
- ),
+ ) : (
unsafe => 1
+ ),
})
}
}