summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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 814b66f30..7bc17b097 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -774,7 +774,7 @@ sub write_lilo_conf {
print F "\tlabel=", make_label_lilo_compatible($_->{label});
if ($_->{type} eq "image") {
- print F "\troot=$_->{root}";
+ print F "\troot=$_->{root}" if $_->{root};
print F "\tinitrd=", $file2fullname->($_->{initrd}) if $_->{initrd};
print F "\tappend=\"$_->{append}\"" if $_->{append};
print F "\tvga=$_->{vga}" if $_->{vga};