summaryrefslogtreecommitdiffstats
path: root/perl-install/network/nfs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/nfs.pm')
-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 8d15af3b8..22452e17c 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 { +{ name => $1, comment => $2, server => $server } if /(\S+)\s*(\S+)/ } @l;
+ map { if_(/(\S+)\s*(\S+)/, { name => $1, comment => $2, server => $server }) } @l;
}
1;