diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-09-15 13:26:49 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-09-15 13:26:49 +0000 |
commit | 37dbc1632ff00c0be201686adc4e0515d194f26c (patch) | |
tree | 1b5ff126938373b83f9782e0d0d796b67f64d1ca | |
parent | 9fe0db1ef378c47eb80a4624b19fecb799d6b43a (diff) | |
download | drakiso-37dbc1632ff00c0be201686adc4e0515d194f26c.tar drakiso-37dbc1632ff00c0be201686adc4e0515d194f26c.tar.gz drakiso-37dbc1632ff00c0be201686adc4e0515d194f26c.tar.bz2 drakiso-37dbc1632ff00c0be201686adc4e0515d194f26c.tar.xz drakiso-37dbc1632ff00c0be201686adc4e0515d194f26c.zip |
remove extra device check (we always have a slash device, and it does not harm to re-set label if set already)
-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); |