summaryrefslogtreecommitdiffstats
path: root/tools/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'tools/draklive')
-rwxr-xr-xtools/draklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/draklive b/tools/draklive
index 187df0eb0..61c25979e 100755
--- a/tools/draklive
+++ b/tools/draklive
@@ -253,7 +253,7 @@ sub get_initrd_path {
sub get_syslinux_path {
my ($live, $media, $o_boot_only) = @_;
- $live->{prefix}{boot} . '/' . $media->{storage} . '/syslinux' . ($o_boot_only && '-boot') . '.cfg';
+ $live->{prefix}{boot} . '/' . $media->{storage} . '/syslinux' . ($o_boot_only && $media->{boot} && '-boot') . '.cfg';
}
sub create_initrd {