summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-03-04 10:37:26 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-03-04 10:37:26 +0000
commit8aa9c319164faac6b8b3794e6f84deeecc2b74f3 (patch)
tree701ec76dd7d8d2b5eb63b5c5cc6a891d202f790c
parentcd24192cee25e087cb642984833523eff12045c0 (diff)
downloaddrakx-8aa9c319164faac6b8b3794e6f84deeecc2b74f3.tar
drakx-8aa9c319164faac6b8b3794e6f84deeecc2b74f3.tar.gz
drakx-8aa9c319164faac6b8b3794e6f84deeecc2b74f3.tar.bz2
drakx-8aa9c319164faac6b8b3794e6f84deeecc2b74f3.tar.xz
drakx-8aa9c319164faac6b8b3794e6f84deeecc2b74f3.zip
(check): fix return value (bug introduced with checking portmap is running)
-rw-r--r--perl-install/network/nfs.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/nfs.pm b/perl-install/network/nfs.pm
index de52e6455..ca6d0f019 100644
--- a/perl-install/network/nfs.pm
+++ b/perl-install/network/nfs.pm
@@ -29,8 +29,9 @@ sub to_dev_raw {
sub check {
my ($_class, $in) = @_;
- $in->do_pkgs->ensure_is_installed('nfs-utils-clients', '/usr/sbin/showmount');
+ $in->do_pkgs->ensure_is_installed('nfs-utils-clients', '/usr/sbin/showmount') or return;
system('/etc/init.d/portmap start') if system('/etc/init.d/portmap status') != 0;
+ 1;
}
sub find_servers {