diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-02-13 13:05:59 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-02-13 13:05:59 +0000 |
commit | 40e9fab046aeb073b1f7caffea541a090d24606a (patch) | |
tree | af4b15da558260f2618f5ce60419d643b2dd66a6 /perl-install/network/nfs.pm | |
parent | 532caa54505b1ff0d9aabf32340bca90451e90c7 (diff) | |
download | drakx-40e9fab046aeb073b1f7caffea541a090d24606a.tar drakx-40e9fab046aeb073b1f7caffea541a090d24606a.tar.gz drakx-40e9fab046aeb073b1f7caffea541a090d24606a.tar.bz2 drakx-40e9fab046aeb073b1f7caffea541a090d24606a.tar.xz drakx-40e9fab046aeb073b1f7caffea541a090d24606a.zip |
$server->{ip} is no more mandatory
Diffstat (limited to 'perl-install/network/nfs.pm')
-rw-r--r-- | perl-install/network/nfs.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/nfs.pm b/perl-install/network/nfs.pm index 5f381d1c1..859e1e63d 100644 --- a/perl-install/network/nfs.pm +++ b/perl-install/network/nfs.pm @@ -43,7 +43,8 @@ sub find_exports { my ($server) = @_; local *F; - my $pid = open F, "showmount -e $server->{ip} |"; + my $s = $server->{ip} || $server->{name}; + my $pid = open F, "showmount -e $s |"; $SIG{ALRM} = sub { kill(15, $pid) }; alarm 5; |