summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-04-04 13:59:13 +0000
committerThierry Vignaud <tv@mageia.org>2013-04-04 13:59:13 +0000
commit22dda04fa1d86f107a6951a766238253c099518e (patch)
tree369e2378a1bcb658641010107bf635827142039f /perl-install/standalone
parentfcd122b6e7ccf677ac684693cfe5fdc875767a5e (diff)
downloaddrakx-22dda04fa1d86f107a6951a766238253c099518e.tar
drakx-22dda04fa1d86f107a6951a766238253c099518e.tar.gz
drakx-22dda04fa1d86f107a6951a766238253c099518e.tar.bz2
drakx-22dda04fa1d86f107a6951a766238253c099518e.tar.xz
drakx-22dda04fa1d86f107a6951a766238253c099518e.zip
simplify
Diffstat (limited to 'perl-install/standalone')
-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) {