From b3399c33ba0fb7312be16b564ed566a15b08d786 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 13 Oct 2004 02:09:16 +0000 Subject: "portmap status" prints "portmap (pid XXXX) is running..." which bothers progs calling fileshareset (eg: gnome) --- perl-install/standalone/fileshareset | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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; -- cgit v1.2.1