summaryrefslogtreecommitdiffstats
path: root/installsrv_wizard
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2005-08-10 01:11:16 +0000
committerAntoine Ginies <aginies@mandriva.com>2005-08-10 01:11:16 +0000
commit5048a8ed57858715caf025ec6cef32828671b036 (patch)
tree7eb1cd8838c4ef061a7ff886a3f8618ae99418c5 /installsrv_wizard
parent13b37c1a29132ec54a195c0bd27fc0f8d8903111 (diff)
downloaddrakwizard-5048a8ed57858715caf025ec6cef32828671b036.tar
drakwizard-5048a8ed57858715caf025ec6cef32828671b036.tar.gz
drakwizard-5048a8ed57858715caf025ec6cef32828671b036.tar.bz2
drakwizard-5048a8ed57858715caf025ec6cef32828671b036.tar.xz
drakwizard-5048a8ed57858715caf025ec6cef32828671b036.zip
remove restart of unavailable service (nfsd)
Diffstat (limited to 'installsrv_wizard')
-rw-r--r--installsrv_wizard/Installsrv.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/installsrv_wizard/Installsrv.pm b/installsrv_wizard/Installsrv.pm
index 34f4f855..e29c469f 100644
--- a/installsrv_wizard/Installsrv.pm
+++ b/installsrv_wizard/Installsrv.pm
@@ -122,8 +122,8 @@ sub add_install_dir {
print " - " . $NFSEXPORTS . " ready\n";
} else {
append_to_file($NFSEXPORTS, "$o->{var}{DESTDIR} *(async,rw,no_root_squash)\n");
- check_started($_) foreach qw(nfs nfsd);
- system("service nfsd reload");
+ check_started("nfs");
+ system("service nfs reload");
}
}