summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakupdate_fstab2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakupdate_fstab b/perl-install/standalone/drakupdate_fstab
index 8347bd68e..01c21e758 100755
--- a/perl-install/standalone/drakupdate_fstab
+++ b/perl-install/standalone/drakupdate_fstab
@@ -73,7 +73,7 @@ sub device_name_to_entry {
unless ($e = find { $name eq $_->{device} } @l) {
my ($prefix, $nb) = $name =~ m/^(.*?)(\d*)$/;
$e = find { $prefix eq ($_->{prefix} || $_->{device}) } @l;
- $e->{device} = ($e->{prefix} || $e->{device}) . $nb;
+ $e->{device} = $name;
}
}