summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index f829063c1..8ab92f8fd 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -993,7 +993,7 @@ sub generate_automatic_stage1_params {
} elsif ($o->{method} eq 'ftp') {
@ks = (server => $ENV{HOST}, directory => $ENV{PREFIX}, user => $ENV{LOGIN}, pass => $ENV{PASSWORD});
} elsif ($o->{method} eq 'nfs') {
- cat_("/proc/mounts") =~ m|(\S+):(\S+)\s+/tmp/nfsimage| or die;
+ cat_("/proc/mounts") =~ m|(\S+):(\S+)\s+/tmp/nfsimage| or internal_error("can't find nfsimage");
@ks = (server => $1, directory => $2);
}
@ks = (method => $method, @ks);