summaryrefslogtreecommitdiffstats
path: root/perl-install/network
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 /perl-install/network
parentcd24192cee25e087cb642984833523eff12045c0 (diff)
downloaddrakx-backup-do-not-use-8aa9c319164faac6b8b3794e6f84deeecc2b74f3.tar
drakx-backup-do-not-use-8aa9c319164faac6b8b3794e6f84deeecc2b74f3.tar.gz
drakx-backup-do-not-use-8aa9c319164faac6b8b3794e6f84deeecc2b74f3.tar.bz2
drakx-backup-do-not-use-8aa9c319164faac6b8b3794e6f84deeecc2b74f3.tar.xz
drakx-backup-do-not-use-8aa9c319164faac6b8b3794e6f84deeecc2b74f3.zip
(check): fix return value (bug introduced with checking portmap is running)
Diffstat (limited to 'perl-install/network')
-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 {