summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/nfs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/nfs.pm b/perl-install/network/nfs.pm
index ca6d0f019..8d15af3b8 100644
--- a/perl-install/network/nfs.pm
+++ b/perl-install/network/nfs.pm
@@ -59,7 +59,7 @@ sub find_exports {
run_program::raw({ timeout => 1 }, "showmount", '>', \@l, "-e", $server->{ip} || $server->{name});
shift @l; #- drop first line
- map { /(\S+)\s*(\S+)/; { name => $1, comment => $2, server => $server } } @l;
+ map { +{ name => $1, comment => $2, server => $server } if /(\S+)\s*(\S+)/ } @l;
}
1;