projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e600a4
)
Handle shares like 193.9.101.0/24
author
Jamie Cameron
<jcameron@webmin.com>
Thu, 25 Oct 2007 16:58:41 +0000
(16:58 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Thu, 25 Oct 2007 16:58:41 +0000
(16:58 +0000)
dfsadmin/dfs-lib.pl
patch
|
blob
|
history
diff --git
a/dfsadmin/dfs-lib.pl
b/dfsadmin/dfs-lib.pl
index
c5e5981
..
115ebdb
100644
(file)
--- a/
dfsadmin/dfs-lib.pl
+++ b/
dfsadmin/dfs-lib.pl
@@
-37,7
+37,7
@@
while(<DFS>) {
$lnum++;
}
$share->{'eline'} = $lnum;
- if ($line =~ /(\/\S+)/) {
+ if ($line =~ /
\s
(\/\S+)/) {
$share->{'dir'} = $1;
}
if ($line =~ /-d\s+"([^"]+)"/) { $share->{'desc'} = $1; }