diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-02-11 17:39:44 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-02-11 17:39:44 +0000 |
commit | 29c5112b2eeee74d4ee3ab9ae86cb19840be91b4 (patch) | |
tree | 4e103349ffdb1f1703232275d3b6891629b30829 /perl-install/standalone/lsnetdrake | |
parent | ac2096832bf3b18568b26bdd952ff4742b45032e (diff) | |
download | drakx-backup-do-not-use-29c5112b2eeee74d4ee3ab9ae86cb19840be91b4.tar drakx-backup-do-not-use-29c5112b2eeee74d4ee3ab9ae86cb19840be91b4.tar.gz drakx-backup-do-not-use-29c5112b2eeee74d4ee3ab9ae86cb19840be91b4.tar.bz2 drakx-backup-do-not-use-29c5112b2eeee74d4ee3ab9ae86cb19840be91b4.tar.xz drakx-backup-do-not-use-29c5112b2eeee74d4ee3ab9ae86cb19840be91b4.zip |
- ensure log::l's don't appear on stderr
- catch authentification errors
Diffstat (limited to 'perl-install/standalone/lsnetdrake')
-rwxr-xr-x | perl-install/standalone/lsnetdrake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/lsnetdrake b/perl-install/standalone/lsnetdrake index 9865cee27..f08008aa4 100755 --- a/perl-install/standalone/lsnetdrake +++ b/perl-install/standalone/lsnetdrake @@ -1,6 +1,7 @@ #!/usr/bin/perl use lib qw(/usr/lib/libDrakX); +use standalone; use network::nfs; use network::smb; @@ -18,7 +19,7 @@ push @l, network::smb->new if $smb; foreach my $class (@l) { foreach my $server (sort_names($class->find_servers)) { - foreach (sort_names($class->find_exports($server))) { + foreach (sort_names(eval { $class->find_exports($server) })) { print $class->to_fullstring($_), "\n"; } } |