summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/lsnetdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/lsnetdrake b/perl-install/standalone/lsnetdrake
index 41fcd3b30..12399d2c3 100755
--- a/perl-install/standalone/lsnetdrake
+++ b/perl-install/standalone/lsnetdrake
@@ -15,7 +15,7 @@ $| = 1;
$ENV{PATH} = "/sbin:/usr/sbin:$ENV{PATH}";
foreach my $class (if_($nfs, fs::remote::nfs->new), if_($smb, fs::remote::smb->new)) {
- foreach my $server (sort_names($class->find_servers)) {
+ foreach my $server (sort_names(eval { $class->find_servers })) {
foreach (sort_names(eval { $class->find_exports($server) })) {
print $class->to_fullstring($_), "\n";
}