Skip to content

Commit

Permalink
Some syslog patch that's been in my homedir way too long...
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Dec 11, 2004
1 parent 9d4200e commit 0f11081
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions IcculusNews_daemon.pl
Expand Up @@ -280,6 +280,7 @@ sub do_log {
my $text = shift;

if ($use_syslog >= $level) {
$text =~ s/%/%%/g; # syslog apparently does formatting or something.
syslog("info", "$text\n")
or report_fatal("Couldn't write to syslog: $!");
}
Expand Down

0 comments on commit 0f11081

Please sign in to comment.