summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/wild_device.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-12-16 10:24:14 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-12-16 10:24:14 +0000
commit68166adb27d6afdea035c09eca98d93b430f72c8 (patch)
treee9b75e58cbb5a00c1ab81246376a480b76409c0d /perl-install/fs/wild_device.pm
parent6170003987ae1aab0621c5fb7ef8f537e910812d (diff)
downloaddrakx-68166adb27d6afdea035c09eca98d93b430f72c8.tar
drakx-68166adb27d6afdea035c09eca98d93b430f72c8.tar.gz
drakx-68166adb27d6afdea035c09eca98d93b430f72c8.tar.bz2
drakx-68166adb27d6afdea035c09eca98d93b430f72c8.tar.xz
drakx-68166adb27d6afdea035c09eca98d93b430f72c8.zip
- diskdrake:
o --nfs: handle "host:/" (#44320) i wonder if \w is really needed here...
Diffstat (limited to 'perl-install/fs/wild_device.pm')
-rw-r--r--perl-install/fs/wild_device.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/wild_device.pm b/perl-install/fs/wild_device.pm
index 10185bf20..afc59b4ee 100644
--- a/perl-install/fs/wild_device.pm
+++ b/perl-install/fs/wild_device.pm
@@ -19,7 +19,7 @@ sub analyze {
'uuid', $1;
} elsif ($dev eq 'none' || $dev eq 'rootfs') {
'virtual';
- } elsif ($dev =~ m!^(\S+):/\w!) {
+ } elsif ($dev =~ m!^(\S+):/(\w|$)!) {
'nfs';
} elsif ($dev =~ m!^//\w!) {
'smb';