From ea6fd50e1e9e61ff5265ce32ea6637da3f754778 Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Fri, 28 Jan 2005 10:39:03 +0000 Subject: fix error --- nisautofs_wizard/Nisautofs.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nisautofs_wizard/Nisautofs.pm b/nisautofs_wizard/Nisautofs.pm index 84871b23..07474667 100644 --- a/nisautofs_wizard/Nisautofs.pm +++ b/nisautofs_wizard/Nisautofs.pm @@ -184,7 +184,6 @@ sub adjust_makefile { substInFile { s!^ALIASES!#ALIASES=/etc/aliases!g; s/^all.*/all: passwd group shadow hosts rpc services netid protocols auto.master auto.home/g; - s//; } $NIS_DIRMAKEFILE . '/Makefile'; } @@ -196,7 +195,7 @@ sub make_yp { sub needed_service { my ($service) = @_; if (services::is_service_running($service)) { - services::restart($service) + services::restart($service); } else { services::start($service) } } -- cgit v1.2.1