diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/lvm.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/lvm.pm b/perl-install/lvm.pm index f48f2970e..ffdba0b3e 100644 --- a/perl-install/lvm.pm +++ b/perl-install/lvm.pm @@ -226,6 +226,7 @@ sub suggest_lv_name_from_mnt_point { $str = "root" if $str eq '/'; $str =~ s!^/!!; $str =~ s!/!_!g; + $str =~ s! !_!g; 'lv_' . $str; } |