summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-10-13 02:09:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-10-13 02:09:16 +0000
commitb3399c33ba0fb7312be16b564ed566a15b08d786 (patch)
tree39a1d8461938d4c4971a844a4bcc77ac44a694c0 /perl-install/standalone
parent3067bd7b0be2f99344bd80232baaf16f0e0b9be5 (diff)
downloaddrakx-b3399c33ba0fb7312be16b564ed566a15b08d786.tar
drakx-b3399c33ba0fb7312be16b564ed566a15b08d786.tar.gz
drakx-b3399c33ba0fb7312be16b564ed566a15b08d786.tar.bz2
drakx-b3399c33ba0fb7312be16b564ed566a15b08d786.tar.xz
drakx-b3399c33ba0fb7312be16b564ed566a15b08d786.zip
"portmap status" prints "portmap (pid XXXX) is running..." which bothers progs calling fileshareset (eg: gnome)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/fileshareset2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/fileshareset b/perl-install/standalone/fileshareset
index 0e3496506..bfbab3106 100755
--- a/perl-install/standalone/fileshareset
+++ b/perl-install/standalone/fileshareset
@@ -259,7 +259,7 @@ sub update_server() {
if (system('/sbin/pidof rpc.mountd >/dev/null') != 0 ||
system('/sbin/pidof nfsd >/dev/null') != 0) {
# trying to start the server...
- system('/etc/init.d/portmap start') if system('/etc/init.d/portmap status') != 0;
+ system('/etc/init.d/portmap start') if system('/etc/init.d/portmap status >/dev/null') != 0;
system('/etc/init.d/nfs', $_) foreach 'stop', 'start';
}
exit 0;