diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-02-13 13:22:55 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-02-13 13:22:55 +0000 |
commit | d2b0100357fa8c6d04d9efb326c3a78916a01b6f (patch) | |
tree | 31ebd8d54e9fccf7266874f1d1cbc1e59197e8ae /perl-install/network | |
parent | 40e9fab046aeb073b1f7caffea541a090d24606a (diff) | |
download | drakx-backup-do-not-use-d2b0100357fa8c6d04d9efb326c3a78916a01b6f.tar drakx-backup-do-not-use-d2b0100357fa8c6d04d9efb326c3a78916a01b6f.tar.gz drakx-backup-do-not-use-d2b0100357fa8c6d04d9efb326c3a78916a01b6f.tar.bz2 drakx-backup-do-not-use-d2b0100357fa8c6d04d9efb326c3a78916a01b6f.tar.xz drakx-backup-do-not-use-d2b0100357fa8c6d04d9efb326c3a78916a01b6f.zip |
don't show shares ending with "$"
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/smb.pm | 2 |
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; |