summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index 031ad3a..839ef3f 100755
--- a/draklive
+++ b/draklive
@@ -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);