diff options
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/fileshareset | 2 |
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; |