summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/bootloader-config3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/standalone/bootloader-config b/perl-install/standalone/bootloader-config
index 7d27b11c7..855a297f9 100755
--- a/perl-install/standalone/bootloader-config
+++ b/perl-install/standalone/bootloader-config
@@ -61,8 +61,7 @@ if ($image) {
my $all_hds = fsedit::get_hds();
fs::get_info_from_fstab($all_hds);
-my $bootloader;
-$bootloader = bootloader::read($all_hds);
+my $bootloader = bootloader::read($all_hds);
if (!$bootloader) {
if (member($action, 'add-kernel', 'remove-kernel')) {
if ($no_initrd) {