summaryrefslogtreecommitdiffstats
path: root/perl-install/network/smb.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-13 13:22:55 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-13 13:22:55 +0000
commitd2b0100357fa8c6d04d9efb326c3a78916a01b6f (patch)
tree31ebd8d54e9fccf7266874f1d1cbc1e59197e8ae /perl-install/network/smb.pm
parent40e9fab046aeb073b1f7caffea541a090d24606a (diff)
downloaddrakx-d2b0100357fa8c6d04d9efb326c3a78916a01b6f.tar
drakx-d2b0100357fa8c6d04d9efb326c3a78916a01b6f.tar.gz
drakx-d2b0100357fa8c6d04d9efb326c3a78916a01b6f.tar.bz2
drakx-d2b0100357fa8c6d04d9efb326c3a78916a01b6f.tar.xz
drakx-d2b0100357fa8c6d04d9efb326c3a78916a01b6f.zip
don't show shares ending with "$"
Diffstat (limited to 'perl-install/network/smb.pm')
-rw-r--r--perl-install/network/smb.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/smb.pm b/perl-install/network/smb.pm
index 2cb8ce9ae..1e141fe48 100644
--- a/perl-install/network/smb.pm
+++ b/perl-install/network/smb.pm
@@ -56,7 +56,7 @@ sub find_exports {
my ($name, $type, $comment) = unpack "A15 A10 A*", $_;
if ($name eq '---------' && $type eq '----' && $comment eq '-------' .. /^$/) {
push @l, { name => $name, type => $type, comment => $comment }
- if $type eq 'Disk' && $name ne 'ADMIN$';
+ if $type eq 'Disk' && $name !~ /\$$/;
}
}
@l;