summaryrefslogtreecommitdiffstats
path: root/nisautofs_wizard/Nisautofs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'nisautofs_wizard/Nisautofs.pm')
-rw-r--r--nisautofs_wizard/Nisautofs.pm3
1 files changed, 1 insertions, 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) }
}