From c7764d6e9e0a6ddda83740057b747dba53e942c4 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 19 Oct 2009 17:25:30 +0000 Subject: fix wrong deref --- draklive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draklive b/draklive index 47502bd..afbc6c5 100755 --- a/draklive +++ b/draklive @@ -121,7 +121,7 @@ sub build_grub_cfg_raw { $media->{partitions}[$part_idx]{mntpoint} eq $boot and $boot = ""; my $title = $media->{title} || $live->{media}{title}; - my @boot_entries = @{$media->{boot_entries}}; + my @boot_entries = @{$media->{boot_entries} || []}; @boot_entries = ('' => '') if !@boot_entries; join("\n", -- cgit v1.2.1