small cosmetic change

This commit is contained in:
Jordi Sanfeliu 2013-07-15 11:46:09 +02:00
parent 5e8a95bdb2
commit 4a71383ae1
1 changed files with 2 additions and 2 deletions

View File

@ -78,12 +78,12 @@ sub HUP_handler {
logger("SIG$signal caught.");
# upon receiving a SIGHUP signal the logfile is re-opened
# upon receiving a SIGHUP signal a new logfile opened
close(STDOUT);
close(STDERR);
open(STDOUT, ">> $config{log_file}") || logger("Can't write to LOG: $!");
open(STDERR, ">> $config{log_file}") || logger("Can't write to LOG: $!");
logger("$myself: reopening log file.");
logger("$myself: opening a new log file.");
# create the HTTPd logfile
open(OUT, "> " . $config{httpd_builtin}->{log_file});