diff options
Diffstat (limited to 'draklive')
-rwxr-xr-x | draklive | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1014,7 +1014,7 @@ sub record_harddisk_master { or die "unable to mount $part->{real_device}\n"; } - if (my $label = !$opts->{boot_only} && $opts->{device} && $media->get_media_label) { + if (my $label = !$opts->{boot_only} && $media->get_media_label) { my $slash_idx = $media->find_partition_index('/'); my $slash = $media->{partitions}[$slash_idx]; set_device_label($slash->{real_device}, $media->get_media_setting('fs'), $label); |