From 3ce1e0cdb9644a71882a4a0eca187ce3b6d66cf3 Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Tue, 30 Jul 2002 00:07:12 +0000 Subject: Fixed a typo and a comment in the "SIGHUP_daemon()" function. --- perl-install/printer.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/printer.pm b/perl-install/printer.pm index 42d8cfb1f..367663f9d 100644 --- a/perl-install/printer.pm +++ b/perl-install/printer.pm @@ -216,7 +216,7 @@ sub SIGHUP_daemon { if ($service eq "cupsd") {$service = "cups"}; # PDQ has no daemon, exit. if ($service eq "pdq") {return 1}; - # CUPS needs auto-configuration + # CUPS needs auto-correction for its configuration run_program::rooted($prefix, "/usr/sbin/correctcupsconfig") if ($service eq "cups"); # Name of the daemon my %daemons = ( @@ -226,7 +226,7 @@ sub SIGHUP_daemon { "cups" => "cupsd", "devfs" => "devfsd", ); - my $daemon = $deamons{$service}; + my $daemon = $daemons{$service}; $daemon = $service if (! defined $daemon); # if ($service eq "cups") { # # The current CUPS (1.1.13) dies on SIGHUP, do the normal restart. -- cgit v1.2.1