summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-06-30 08:59:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-06-30 08:59:16 +0000
commit3a78042f848706368b9e2f463edec138eec74cda (patch)
tree79534734112791ccc1b640b9d4ca3ec9a564cb05 /perl-install
parentab2a89f7a42c8935b28ac11c779dd2da62256350 (diff)
downloaddrakx-3a78042f848706368b9e2f463edec138eec74cda.tar
drakx-3a78042f848706368b9e2f463edec138eec74cda.tar.gz
drakx-3a78042f848706368b9e2f463edec138eec74cda.tar.bz2
drakx-3a78042f848706368b9e2f463edec138eec74cda.tar.xz
drakx-3a78042f848706368b9e2f463edec138eec74cda.zip
shut up "smbclient -L"
Diffstat (limited to 'perl-install')
-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 941463c65..00b676725 100644
--- a/perl-install/network/smb.pm
+++ b/perl-install/network/smb.pm
@@ -42,7 +42,7 @@ sub smbclient {
my $group = $server->{group} ? " -W $server->{group}" : '';
my $U = $server->{username} ? sprintf("%s/%s%%%s", @$server{'domain', 'username', 'password'}) : '%';
- `smbclient -U $U -L $name $ip$group`;
+ `smbclient -U $U -L $name $ip$group 2>/dev/null`;
}
sub find_servers {