diff options
author | Till Kamppeter <tkamppeter@mandriva.com> | 2002-07-30 00:07:12 +0000 |
---|---|---|
committer | Till Kamppeter <tkamppeter@mandriva.com> | 2002-07-30 00:07:12 +0000 |
commit | 3ce1e0cdb9644a71882a4a0eca187ce3b6d66cf3 (patch) | |
tree | 463f7eefe20dd24e6f387b48dc05a42765cf09d9 | |
parent | 8f07bf0cd80033e726b32cd0e1e811e712e4a3d7 (diff) | |
download | drakx-3ce1e0cdb9644a71882a4a0eca187ce3b6d66cf3.tar drakx-3ce1e0cdb9644a71882a4a0eca187ce3b6d66cf3.tar.gz drakx-3ce1e0cdb9644a71882a4a0eca187ce3b6d66cf3.tar.bz2 drakx-3ce1e0cdb9644a71882a4a0eca187ce3b6d66cf3.tar.xz drakx-3ce1e0cdb9644a71882a4a0eca187ce3b6d66cf3.zip |
Fixed a typo and a comment in the "SIGHUP_daemon()" function.
-rw-r--r-- | perl-install/printer.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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. |