diff options
-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; |